/** * onetrust-banner-sdk * v202403.2.0 * by OneTrust LLC * Copyright 2024 */ !function(){"use strict";var x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}))(e,t)};function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var H,R=function(){return(R=Object.assign||function(e){for(var t,o=1,n=arguments.length;oa[0]&&t[1]this.length)&&(t=this.length),this.substring(t-e.length,t)===e},writable:!0,configurable:!0})},Z.prototype.initClosestPolyfill=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||Object.defineProperty(Element.prototype,"closest",{value:function(e){var t=this;do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null},writable:!0,configurable:!0})},Z.prototype.initIncludesPolyfill=function(){String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return!((t="number"!=typeof t?0:t)+e.length>this.length)&&-1!==this.indexOf(e,t)},writable:!0,configurable:!0})},Z.prototype.initObjectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),n=1;n>>0,n=arguments[1]>>0,r=n<0?Math.max(o+n,0):Math.min(n,o),n=arguments[2],n=void 0===n?o:n>>0,i=n<0?Math.max(o+n,0):Math.min(n,o);r"))if(Array.isArray(e)){var o=this;Array.prototype.forEach.call(e,function(e,t){document.querySelector(o.selector).appendChild(new i(e,"ce").el)})}else{if("string"==typeof e||Array.isArray(e))return this.appendHtmlElement(e);if("string"==typeof this.selector)document.querySelector(this.selector).appendChild(e);else if(1<=e.length)for(var t=0;t\n '+e.Name+' '+I.NewWinTxt+"\n \n ":n):""},qt.prototype.getBannerSDKAssestsUrl=function(){return this.getBannerVersionUrl()+"/assets"},qt.prototype.getBannerVersionUrl=function(){var e=A.bannerScriptElement.getAttribute("src");return""+(-1!==e.indexOf("/consent/")?e.split("consent/")[0]+"scripttemplates/":e.split("otSDKStub")[0])+v.moduleInitializer.Version},qt.prototype.checkMobileOfflineRequest=function(e){return v.moduleInitializer.MobileSDK&&new RegExp("^file://","i").test(e)},qt.prototype.updateCorrectIABUrl=function(e){var t,o=v.moduleInitializer.ScriptType;return o!==Me&&o!==Ue||(o=b.getURL(e),(t=(t=A.bannerScriptElement)&&t.getAttribute("src")?b.getURL(t.getAttribute("src")):null)&&o&&t.hostname!==o.hostname&&(e=(e=(t=""+A.bannerDataParentURL)+o.pathname.split("/").pop().replace(/(^\/?)/,"/")).replace(o.hostname,t.hostname))),e},qt.prototype.updateCorrectUrl=function(e,t){if((void 0===t&&(t=!1),A.previewMode)&&new RegExp("^data:image/").test(e))return e;var o=b.getURL(e),n=A.bannerScriptElement,n=n&&n.getAttribute("src")?b.getURL(n.getAttribute("src")):null;if(n&&o&&n.hostname!==o.hostname){var r=v.moduleInitializer.ScriptType;if(r===Me||r===Ue){if(t)return e;e=(n=A.bannerDataParentURL+"/"+A.getRegionRule().Id)+o.pathname.replace(/(^\/?)/,"/")}else e=null==(r=e)?void 0:r.replace(o.hostname,n.hostname)}return e},qt.prototype.isBundleOrStackActive=function(n,r){void 0===r&&(r=null);for(var i=L.oneTrustIABConsent,s=!0,a=(r=r||L.groupsConsent,0);function(){var e,t,o=n.SubGroups[a];o.Status!==m.ALWAYS_ACTIVE&&(o.Type===yt?(-1<(t=b.findIndex(r,function(e){return e.split(":")[0]===o.CustomGroupId}))&&"0"===r[t].split(":")[1]||!r.length)&&(s=!1):(e=o.Type===T.GroupTypes.Spl_Ft?i.specialFeatures:i.purpose,(-1<(t=b.findIndex(e,function(e){return e.split(":")[0]===o.IabGrpId}))&&"false"===e[t].split(":")[1]||!e.length)&&(s=!1))),a++}(),s&&a","ce").el,r=(_(n).html(e),n.querySelectorAll("a")),i=0;inew Date(e)},o.prototype.updateCrossConsentCookie=function(e){k.writeCookieParam(S.OPTANON_CONSENT,p.IS_IAB_GLOBAL,e)},o.prototype.alertBoxCloseDate=function(){return k.getCookie(S.ALERT_BOX_CLOSED)},o.prototype.isAlertBoxClosedAndValid=function(){return null!==this.alertBoxCloseDate()&&!this.reconsentRequired()},o.prototype.generateLegIntButtonElements=function(e,t,o){return'
\n \n \n '+A.legIntSettings.PRemoveObjectionText+"\n \n
"},o.prototype.syncAlertBoxCookie=function(e){var t=I.ReconsentFrequencyDays;k.setCookie(S.ALERT_BOX_CLOSED,e,t,!1,new Date(e))},o.prototype.syncCookieExpiry=function(){var e,t,o;L.syncRequired&&(e=I.ReconsentFrequencyDays,t=k.getCookie(S.ALERT_BOX_CLOSED),o=k.getCookie(S.OPTANON_CONSENT),k.setCookie(S.OPTANON_CONSENT,o,e,!1,new Date(t)),h.needReconsent()&&k.removeAlertBox(),(o=k.getCookie(S.EU_PUB_CONSENT))&&(h.isIABCrossConsentEnabled()?k.removeIab2():k.setCookie(S.EU_PUB_CONSENT,o,e,!1,new Date(t))),o=k.getCookie(S.ADDITIONAL_CONSENT_STRING))&&k.setCookie(S.ADDITIONAL_CONSENT_STRING,o,e,!1,new Date(t))},o.prototype.syncOtPreviewCookie=function(){var e=k.getCookie(S.OT_PREVIEW);e&&k.setCookie(S.OT_PREVIEW,e,1,!1)},o.prototype.dispatchConsentEvent=function(){window.dispatchEvent(new CustomEvent("OTConsentApplied",{OTConsentApplied:"yes"}))};var E,h=new o,Ut=function(){};Yt.prototype.isAlwaysActiveGroup=function(e){var t;return!this.getGrpStatus(e)||(t=this.getGrpStatus(e).toLowerCase(),(t=e.Parent&&t!==m.ALWAYS_ACTIVE?this.getGrpStatus(this.getParentGroup(e.Parent)).toLowerCase():t)===m.ALWAYS_ACTIVE)},Yt.prototype.getGrpStatus=function(e){return e&&e.Status?A.DNTEnabled&&e.IsDntEnabled?m.DNT:e.Status:""},Yt.prototype.getParentGroup=function(t){var e;return t&&0<(e=I.Groups.filter(function(e){return e.OptanonGroupId===t})).length?e[0]:null},Yt.prototype.checkIfGroupHasConsent=function(t){var e=L.groupsConsent,o=b.findIndex(e,function(e){return e.split(":")[0]===t.CustomGroupId});return-1 button:focus, #onetrust-pc-sdk .ot-ven-item > button:focus {\n border: 1px solid "+t+";\n }\n #onetrust-consent-sdk #onetrust-pc-sdk *:focus,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vlst-cntr > a:focus {\n outline: 1px solid "+t+";\n }"),e},Zt.prototype.setCloseIconColor=function(){var e="";return I.PCCloseButtonType===ke.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+I.PCContinueColor+"}"),e},Zt.prototype.setTabLayoutStyles=function(){var e="",t=I.pcMenuColor,o=I.pcMenuHighLightColor;return A.pcName===it&&(t&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler {\n background-color: "+t+"\n }"),o)&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk ."+P.P_Active_Menu+" {\n background-color: "+o+"\n }"),e},Zt.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=I.PCFocusBorderColor;return!I.PCTemplateUpgrade&&t&&(e+='\n #onetrust-pc-sdk input[type="checkbox"]:focus + .accordion-header,\n #onetrust-pc-sdk .category-item .ot-switch.ot-toggle input:focus + .ot-switch-label,\n #onetrust-pc-sdk .checkbox input:focus + label::after {\n outline-color: '+t+";\n outline-width: 1px;\n }"),e},Zt.prototype.setExtLnkUrl=function(){var e="",t=y.updateCorrectUrl(I.OTExternalLinkLogo);return t&&(e+="#onetrust-pc-sdk .ot-vlst-cntr .ot-ext-lnk, #onetrust-pc-sdk .ot-ven-hdr .ot-ext-lnk{\n background-image: url('"+t+"');\n }\n "),e},Zt.prototype.setCustomCss=function(){var e="";return I.pcCustomCSS&&(e+=I.pcCustomCSS),e};var Xt,Qt=Zt;function Zt(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=I.backgroundColor,t=I.buttonColor,o=I.textColor,n=I.buttonTextColor,r=I.bannerMPButtonColor,i=I.bannerMPButtonTextColor,s=I.bannerAccordionBackgroundColor,a=I.BSaveBtnColor,l=I.BCategoryContainerColor,c=I.BLineBreakColor,d=I.BCategoryStyleColor,u=I.bannerLinksTextColor,p=I.BFocusBorderColor,o="\n "+(A.bannerName===Xe?e?"#onetrust-consent-sdk #onetrust-banner-sdk .ot-sdk-container {\n background-color: "+e+";}":"":e?"#onetrust-consent-sdk #onetrust-banner-sdk {background-color: "+e+";}":"")+"\n "+(o?"#onetrust-consent-sdk #onetrust-policy-title,\n #onetrust-consent-sdk #onetrust-policy-text,\n #onetrust-consent-sdk .ot-b-addl-desc,\n #onetrust-consent-sdk .ot-dpd-desc,\n #onetrust-consent-sdk .ot-dpd-title,\n #onetrust-consent-sdk #onetrust-policy-text *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk .ot-dpd-desc *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk #onetrust-banner-sdk #banner-options *,\n #onetrust-banner-sdk .ot-cat-header,\n #onetrust-banner-sdk .ot-optout-signal\n {\n color: "+o+";\n }":"")+"\n "+(s?"#onetrust-consent-sdk #onetrust-banner-sdk .banner-option-details {\n background-color: "+s+";}":"")+"\n "+(u?" #onetrust-consent-sdk #onetrust-banner-sdk a[href],\n #onetrust-consent-sdk #onetrust-banner-sdk a[href] font,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn\n {\n color: "+u+";\n }":"");return(t||n)&&(o+="#onetrust-consent-sdk #onetrust-accept-btn-handler,\n #onetrust-banner-sdk #onetrust-reject-all-handler {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(n?"color: "+n+";":"")+"\n }"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk *:focus,\n #onetrust-consent-sdk #onetrust-banner-sdk:focus {\n outline-color: "+p+";\n outline-width: 1px;\n }"),(i||r)&&(o+="\n #onetrust-consent-sdk #onetrust-pc-btn-handler,\n #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {\n "+(i?"color: "+i+"; border-color: "+i+";":"")+"\n background-color:\n "+(r&&!I.BannerSettingsButtonDisplayLink?r:e)+";\n }"),A.bannerName===$e&&(r=i=t=u=s=void 0,d&&(i="background-color: "+d+";",r="border-color: "+d+";"),p&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-tgl input:focus+.ot-switch .ot-switch-nob,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-chkbox input:focus + label::before {\n outline-color: "+p+";\n outline-width: 1px;\n }"),o+="#onetrust-banner-sdk .ot-bnr-save-handler {"+(s=a?"color: "+n+";border-color: "+n+";background-color: "+a+";":s)+"}#onetrust-banner-sdk .ot-cat-lst {"+(u=l?"background-color: "+l+";":u)+"}#onetrust-banner-sdk .ot-cat-bdr {"+(t=c?"border-color: "+c+";":t)+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+i+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+r+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"),I.BCloseButtonType===ke.Link&&(o+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+I.BContinueColor+"}"),o},this.addCustomPreferenceCenterCSS=function(){var e=I.pcBackgroundColor,t=I.pcTextColor,o=I.pcLinksTextColor,n=I.PCenterEnableAccordion,r=I.pcAccordionBackgroundColor,e="\n "+(e?(A.pcName===ot?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+P.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+P.P_Search_Cntr+",\n "+(n&&A.pcName===ot?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+P.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Title+":after\n "+(v.isV2Template?",#onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Triangle:"")+" {\n background-color: "+e+";\n }\n ":"")+"\n "+(t?"#onetrust-consent-sdk #onetrust-pc-sdk h3,\n #onetrust-consent-sdk #onetrust-pc-sdk h4,\n #onetrust-consent-sdk #onetrust-pc-sdk h5,\n #onetrust-consent-sdk #onetrust-pc-sdk h6,\n #onetrust-consent-sdk #onetrust-pc-sdk p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_Container+" "+P.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Vendor_List+" "+P.P_Vendor_Container+" .consent-category,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-label-status,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk #clear-filters-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-optout-signal\n {\n color: "+t+";\n }":"")+"\n "+(o?" #onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-pgph-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler + a,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-host-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Ven_Leg_Claim+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Acc_Header+" "+P.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Content+" "+P.P_Policy_Txt+" .ot-link-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vnd-serv .ot-vnd-item .ot-vnd-info a,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-lst-cnt .ot-vnd-info a\n {\n color: "+o+";\n }":"")+"\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler:hover { text-decoration: underline;}\n "+(n&&r?"#onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Container+P.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" "+P.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Host_Cntr+" "+P.P_Host_Info+",\n "+(v.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+P.P_Acc_Txt+" "+P.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ";return(e+=Xt.setButonColor())+Xt.setFocusBorderColor()+Xt.setCloseIconColor()+Xt.setTabLayoutStyles()+Xt.setTabLayoutStyles()+Xt.setFocusIfTemplateUpgrade()+Xt.setExtLnkUrl()+Xt.setCustomCss()},this.addCustomCookieListCSS=function(){var e=I.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",e="\n "+(I.cookieListPrimaryColor?"\n #ot-sdk-cookie-policy"+e+" h5,\n #ot-sdk-cookie-policy"+e+" h6,\n #ot-sdk-cookie-policy"+e+" li,\n #ot-sdk-cookie-policy"+e+" p,\n #ot-sdk-cookie-policy"+e+" a,\n #ot-sdk-cookie-policy"+e+" span,\n #ot-sdk-cookie-policy"+e+" td,\n #ot-sdk-cookie-policy"+e+" #cookie-policy-description {\n color: "+I.cookieListPrimaryColor+";\n }":"")+"\n "+(I.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+I.cookieListTableHeaderColor+";\n }":"")+"\n "+(I.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+I.cookieListGroupNameColor+";\n }":"")+"\n "+(I.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+I.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&I.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+I.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return I.cookieListCustomCss&&(e+=I.cookieListCustomCss),e}}to.prototype.getAllowAllButton=function(){return _("#onetrust-pc-sdk #accept-recommended-btn-handler")},to.prototype.getSelectedVendors=function(){return _("#onetrust-pc-sdk "+P.P_Tgl_Cntr+" .ot-checkbox input:checked")};var $t,eo=to;function to(){}ro.prototype.isIabCookieValid=function(){var e=null;return null!==(e=A.isIab2orv2Template?k.getCookie("eupubconsent-v2"):e)},ro.prototype.iabTypeIsChanged=function(){this.isIabCookieValid()||(k.removeAlertBox(),k.removeIab1())},ro.prototype.initializeIABModule=function(){return u(this,void 0,void 0,function(){return F(this,function(e){switch(e.label){case 0:return I.IsIabEnabled?(v.moduleInitializer.otIABModuleData=window.otIabModule,h.setIabData(),[4,h.populateVendorListTCF()]):[3,2];case 1:return e.sent(),h.isIABCrossConsentEnabled()||this.iabTypeIsChanged(),h.populateIABCookies(),I.UseGoogleVendors&&this.removeInActiveAddtlVendors(),[3,3];case 2:k.removeIab1(),e.label=3;case 3:return[2]}})})},ro.prototype.removeInActiveAddtlVendors=function(){var e,t=I.OverridenGoogleVendors;for(e in L.addtlVendorsList)t&&t[e]&&!t[e].active&&delete L.addtlVendorsList[e]},ro.prototype.getIABConsentData=function(){var e=L.oneTrustIABConsent,t=h.iabStringSDK().tcString(),o=(L.tcModel.unsetAllPurposeConsents(),L.tcModel.unsetAllVendorConsents(),L.tcModel.unsetAllVendorLegitimateInterests(),L.tcModel.unsetAllSpecialFeatureOptins(),L.tcModel.unsetAllPurposeLegitimateInterests(),L.tcModel.publisherConsents.empty(),L.tcModel.publisherLegitimateInterests.empty(),L.tcModel.purposeConsents.set(b.getActiveIdArray(e.purpose)),L.tcModel.publisherConsents.set(b.getActiveIdArray(e.purpose)),A.legIntSettings.PAllowLI?b.getActiveIdArray(e.legimateInterest):[]),o=(L.tcModel.purposeLegitimateInterests.set(o),L.tcModel.publisherLegitimateInterests.set(o),L.tcModel.vendorConsents.set(b.getActiveIdArray(b.distinctArray(e.vendors))),A.legIntSettings.PAllowLI&&!o.length&&(e.legIntVendors=[]),L.tcModel.vendorLegitimateInterests.set(b.getActiveIdArray(b.distinctArray(e.legIntVendors))),L.tcModel.specialFeatureOptins.set(b.getActiveIdArray(e.specialFeatures)),new Date),e=new Date(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),0,0,0),o=(L.tcModel.lastUpdated=e,L.tcModel.created=e,t.encode(L.tcModel));return L.cmpApi.update(o,!1),o},ro.prototype.decodeTCString=function(e){return h.iabStringSDK().tcString().decode(e)},ro.prototype.getVendorConsentsRequestV2=function(e){var o;return window.__tcfapi("getInAppTCData",2,function(e,t){o=[e,t]}),e.apply(this,o)},ro.prototype.getPingRequestForTcf=function(e){var t;return window.__tcfapi("ping",2,function(e){t=[e]}),e.apply(this,t)},ro.prototype.populateVendorAndPurposeFromCookieData=function(){var n=L.oneTrustIABConsent,e=oo.decodeTCString(n.IABCookieValue),t=T.GroupTypes,r={},i={},s=(A.iabGrps.forEach(function(e){e.Type===t.Pur?r[A.iabGrpIdMap[e.CustomGroupId]]=e:e.Type===t.Spl_Ft&&(i[A.iabGrpIdMap[e.CustomGroupId]]=e)}),[]);this.syncVendorConsent(e),s=[],e.vendorLegitimateInterests.forEach(function(e,t){var o=e;L.vendorsSetting[t]&&L.vendorsSetting[t].legInt||!e||(s.push(t),o=!1),n.legIntVendors.push(t+":"+o)}),e.vendorLegitimateInterests.unset(s),s=[],e.purposeConsents.forEach(function(e,o){var t=e,e=(!(r[o]&&r[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),b.findIndex(n.purpose,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.purpose.push(o+":"+t):n.purpose[e]=o+":"+t}),e.purposeConsents.unset(s),e.publisherConsents.unset(s),s=[],e.specialFeatureOptins.forEach(function(e,o){var t=e,e=(!(i[o]&&i[o].HasConsentOptOut)&&e&&(s.push(o),t=!1),b.findIndex(n.specialFeatures,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?n.specialFeatures.push(o+":"+t):n.specialFeatures[e]=o+":"+t}),e.specialFeatureOptins.unset(s),this.syncPurAndPubLegInt(e,r),this.syncBundleAndStack(),e.gvl=L.tcModel.gvl,e.isServiceSpecific=!h.isIABCrossConsentEnabled(),L.tcModel=e,h.isAlertBoxClosedAndValid()?L.cmpApi.update(n.IABCookieValue,!1):h.resetTCModel()},ro.prototype.syncVendorConsent=function(e){var n=[],r=L.oneTrustIABConsent;e.vendorConsents.forEach(function(e,t){var o=e;L.vendorsSetting[t]&&L.vendorsSetting[t].consent||!e||(n.push(t),o=!1),r.vendors.push(t+":"+o)}),e.vendorConsents.unset(n)},ro.prototype.syncPurAndPubLegInt=function(e,n){var r=[],i=L.oneTrustIABConsent;e.purposeLegitimateInterests.forEach(function(e,o){var t=e,e=(!(n[o]&&n[o].HasLegIntOptOut&&A.legIntSettings.PAllowLI)&&e&&(r.push(o),t=!1),b.findIndex(i.legimateInterest,function(e,t){return e.split(":")[0]===o.toString()}));-1===e?i.legimateInterest.push(o+":"+t):i.legimateInterest[e]=o+":"+t}),e.purposeLegitimateInterests.unset(r),e.publisherLegitimateInterests.unset(r)},ro.prototype.syncBundleAndStack=function(){var e=k.readCookieParam(S.OPTANON_CONSENT,"groups"),n=(L.groupsConsent=b.strToArr(e),T.GroupTypes);I.Groups.forEach(function(t){var e,o;t.Type!==n.Bundle&&t.Type!==n.Stack||(o=y.isBundleOrStackActive(t),e=b.findIndex(L.groupsConsent,function(e){return e.split(":")[0]===t.CustomGroupId}),o=t.CustomGroupId+":"+Number(o),-1"):""},Zo.prototype.canInsertForGroup=function(e,t){void 0===t&&(t=!1);var o=null!=e&&void 0!==e,n=k.readCookieParam(S.OPTANON_CONSENT,"groups"),r=L.groupsConsent.join(","),i=k.readCookieParam(S.OPTANON_CONSENT,"hosts"),s=L.hostsConsent.join(",");if(t)return!0;n===r&&i===s||G.ensureHtmlGroupDataInitialised();var a=[];if(L.showGeneralVendors)for(var l=0,c=Object.entries(L.genVendorsConsent);le.clientHeight&&(this.bodyStyleChanged=!0,e=_("body"))&&e.length&&en.addOTCssPropertiesToBody($o.PC,{overflow:"hidden"})},cn.prototype.checkIfPcSdkContainerExist=function(){return!_(""+an.ONETRUST_PC_SDK).length};var an,ln=cn;function cn(){this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter",this.bodyStyleChanged=!1}pn.prototype.isLandingPage=function(){var e=k.readCookieParam(S.OPTANON_CONSENT,"landingPath");return!e||e===location.href},pn.prototype.setLandingPathParam=function(e){k.writeCookieParam(S.OPTANON_CONSENT,"landingPath",e)};var dn,un=pn;function pn(){}Cn.prototype.updateGtmMacros=function(e){void 0===e&&(e=!0);var n=[];L.groupsConsent.forEach(function(e){var t=e.replace(":1",""),o=C.getGrpStatus(C.getGroupById(t)).toLowerCase()===m.ALWAYS_ACTIVE;b.endsWith(e,":1")&&(G.canSoftOptInInsertForGroup(t)||o)&&n.push(t)}),L.hostsConsent.forEach(function(e){b.endsWith(e,":1")&&n.push(e.replace(":1",""))}),L.showGeneralVendors&&I.GenVenOptOut&&I.GeneralVendors.forEach(function(e){!L.genVendorsConsent[e.VendorCustomId]||L.softOptInGenVendors.includes(e.VendorCustomId)&&dn.isLandingPage()||n.push(e.VendorCustomId)});L.vsIsActiveAndOptOut&&L.getVendorsInDomain().forEach(function(e){L.vsConsent.get(e.CustomVendorServiceId)&&n.push(e.CustomVendorServiceId)});var t=","+b.arrToStr(n)+",";I.GoogleConsent.GCEnable&&!A.otDataLayer.ignore&&this.updateGCMTags(n),window.OnetrustActiveGroups=t,window.OptanonActiveGroups=t,A.gcmUpdateCallback&&A.gcmUpdateCallback(),A.otDataLayer.ignore||void 0===this._window[A.otDataLayer.name]||this._window[A.otDataLayer.name].constructor!==Array?!A.otDataLayer.ignore&&A.otDataLayer.name&&(this._window[A.otDataLayer.name]=[{event:"OneTrustLoaded",OnetrustActiveGroups:t},{event:"OptanonLoaded",OptanonActiveGroups:t}]):(this._window[A.otDataLayer.name].push({event:"OneTrustLoaded",OnetrustActiveGroups:t}),this._window[A.otDataLayer.name].push({event:"OptanonLoaded",OptanonActiveGroups:t})),this.dispatchEvents(e,n,t)},Cn.prototype.dispatchEvents=function(e,t,o){!e&&A.gtmUpdatedinStub||(n=new CustomEvent("consent.onetrust",{detail:t}));var n,r,i=k.readCookieParam(S.OPTANON_CONSENT,"groups"),s=L.fireOnetrustGrp||!i||e||!A.gtmUpdatedinStub;s&&(L.fireOnetrustGrp=!1,!A.otDataLayer.ignore&&this._window[A.otDataLayer.name]&&this._window[A.otDataLayer.name].constructor===Array&&this._window[A.otDataLayer.name].push({event:"OneTrustGroupsUpdated",OnetrustActiveGroups:o}),r=new CustomEvent("OneTrustGroupsUpdated",{detail:t})),setTimeout(function(){n&&s&&window.dispatchEvent(n),r&&window.dispatchEvent(r)})},Cn.prototype.categoryNotMapped=function(e){return e!==lt&&""!==e},Cn.prototype.updateGCMTags=function(o){var n,r=this,i={},e=(this.canUpdateGCMCategories()&&(e=[[I.GoogleConsent.GCAdStorage,Te.ad_storage],[I.GoogleConsent.GCAnalyticsStorage,Te.analytics_storage],[I.GoogleConsent.GCFunctionalityStorage,Te.functionality_storage],[I.GoogleConsent.GCPersonalizationStorage,Te.personalization_storage],[I.GoogleConsent.GCSecurityStorage,Te.security_storage]],v.fp.CookieV2GCMDMA&&(e.push([I.GoogleConsent.GCAdUserData,Te.ad_user_data]),e.push([I.GoogleConsent.GCAdPersonalization,Te.ad_personalization])),e.forEach(function(e){var t;r.categoryNotMapped(e[0])&&(t=o.includes(e[0])?Ae.granted:Ae.denied,i[e[1]]=t)})),k.getCookie(S.ALERT_BOX_CLOSED)),t=A.getRegionRule().Global;"function"!=typeof window.gtag&&(n=this._window,window.gtag=function(e,t,o){A.otDataLayer.ignore||(n[A.otDataLayer.name]?n[A.otDataLayer.name].push(arguments):n[A.otDataLayer.name]=[arguments])}),"function"==typeof window.gtag&&(A.gcmDevIdSet||(window.gtag(be.set,"developer_id.dYWJhMj",!0),A.gcmDevIdSet=!0),e)&&(t||(i[Te.region]=A.gcmCountries),0!==Object.keys(i).length)&&window.gtag(be.consent,Pe.update,i)},Cn.prototype.canUpdateGCMCategories=function(){return I.GoogleConsent.GCAdStorage!==lt||I.GoogleConsent.GCAnalyticsStorage!==lt||I.GoogleConsent.GCFunctionalityStorage!==lt||I.GoogleConsent.GCPersonalizationStorage!==lt||I.GoogleConsent.GCSecurityStorage!==lt||I.GoogleConsent.GCAdUserData!==lt||I.GoogleConsent.GCAdPersonalization!==lt};var hn,gn=Cn;function Cn(){this._window=window}mn.prototype.updateFilterSelection=function(e){o=(e=void 0===e?!1:e)?(t=L.filterByCategories,"data-optanongroupid"):(t=L.filterByIABCategories,"data-purposeid");for(var t,o,n=_("#onetrust-pc-sdk .category-filter-handler").el,r=0;rg {\n fill: "+t.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync #ot-sync-title {\n text-align: "+t.TitleAlign+";\n color: "+t.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync .ot-sync-desc {\n text-align: "+t.DescAlign+";\n color: "+t.DescColor+"; \n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete {\n background-color: "+o.BgColor+";\n border: 1px solid "+o.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-check>g {\n fill: "+o.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete #ot-sync-title {\n text-align: "+o.TitleAlign+";\n color: "+o.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete .ot-sync-desc {\n text-align: "+o.DescAlign+";\n color: "+o.DescColor+"; \n }\n "+("BUTTON"===e.CSType?"\n #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler {\n background-color: "+n.BgColor+";\n border: 1px solid "+n.BdrColor+";\n color: "+n.Color+";\n text-align: "+n.Align+";\n }":" #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler.ot-pc-link {\n color: "+r.Color+";\n text-align: "+r.Align+";\n }")+"\n "},On.prototype.initHtml=function(e,t,o,n){var r="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(_(o("Sync"===e?".ot-sync-refresh":".ot-sync-check")).show(),_(o(r)).hide(),_(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(_(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?_(o("#ot-sync-title")).html(t.Title):_(o("#ot-sync-title")).hide(),t.Desc?_(o(".ot-sync-desc")).html(t.Desc):_(o(".ot-sync-desc")).hide(),t.ShowClose?(_(o(".ot-sync-close-handler")).show("inline-block"),_(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(_(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},On.prototype.close=function(){this.hideSyncNtfy(),y.resetFocusToBody()},On.prototype.hideSyncNtfy=function(){I.NtfyConfig.ShowCS&&window.removeEventListener("resize",Sn.resizeEvent),_("#ot-sync-ntfy").fadeOut(400)},On.prototype.removeHtml=function(){var e=_(this.El).el;e&&b.removeChild(e)},On.prototype.alignContent=function(){_(".ot-sync-btncntr").el[0].clientHeight>_(".ot-sync-titlecntr").el[0].clientHeight&&(_(".ot-sync-titlecntr").addClass("ot-pos-abs"),_(".ot-sync-btncntr").addClass("ot-pos-rel"))},On.prototype.resizeEvent=function(){window.innerWidth<=896&&Sn.alignContent()},On);function On(){this.El="#ot-sync-ntfy"}wn.prototype.toggleVendorConsent=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.vendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=_(P.P_Vendor_Container+" ."+P.P_Ven_Ctgl+' [vendorid="'+t+'"]').el[0];t&&b.setCheckedAttribute("",t,"true"===e)});var o,n=_("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];n&&(o=b.getActiveIdArray(b.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(_t.P_Line_Through):n.parentElement.classList.add(_t.P_Line_Through),b.setCheckedAttribute("",n,t))},wn.prototype.toggleVendorLi=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=_(P.P_Vendor_Container+" ."+P.P_Ven_Ltgl+' [leg-vendorid="'+t+'"]').el[0];t&&b.setCheckedAttribute("",t,"true"===e)});var o,n=_("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];n&&(o=b.getActiveIdArray(b.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(_t.P_Line_Through):n.parentElement.classList.add(_t.P_Line_Through),b.setCheckedAttribute("",n,t))},wn.prototype.updateVendorLegBtns=function(e){(e=(e=void 0===e?[]:e).length?e:L.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=_(P.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+t+'"]').el[0];t&&f.updateLegIntBtnElement(t,"true"===e)})};var Vn,Bn=wn;function wn(){}function Gn(){return(!A.isIab2orv2Template&&I.PCTemplateUpgrade&&I.PCCategoryStyle===Se.Toggle?E.toggleEl:E.chkboxEl).cloneNode(!0)}xn.prototype.setHtmlTemplate=function(e){O.setInternalData(),O.rootHtml=e,O.cloneHtmlElements()},xn.prototype.getVendorListEle=function(e){var t=document.createDocumentFragment(),o=document.createElement("div"),n=(o.classList.add("ot-vs-list"),I.VendorServiceConfig.PCVSExpandGroup);return e.forEach(function(e,t){e=O.createVendor(e.groupRef,e,n,"ot-vs-lst-id-"+t);o.appendChild(e)}),t.appendChild(o),t},xn.prototype.insertVendorServiceHtml=function(e,t){var o;O.checkIfIsInvalid(e,t)||(o=document.createDocumentFragment(),O.setVendorContainer(o,e),O.setVendorList(o,e),e.SubGroups&&0\n
\n \n \n \n '+e.errorMessage+"\n \n
\n ",e=document.createElement("div");e.innerHTML=t,e.classList.add("ot-signature-health-group"),this.setConsentIdInput(e),this.healthSignatureElement=e,this.parentElement.appendChild(e),this.addEventHandlers()},Rn.prototype.resetHealthSignatureData=function(e){void 0===e&&(e=!1),A.requireSignatureEnabled&&(A.healthSignatureData="",A.healthSignatureGroup=null,e)&&k.writeCookieParam(S.OPTANON_CONSENT,p.HEALTH_SIGNATURE_AUTHORIZATION,"")},Rn.prototype.setConsentIdInPC=function(){this.setConsentIdInput(null)},Rn.prototype.setConsentIdInput=function(e){var t;this.healthSignatureGroup&&(k.readCookieParam(S.OPTANON_CONSENT,p.HEALTH_SIGNATURE_AUTHORIZATION)?(t=(e||document).querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(e="",f.isGroupActive(this.healthSignatureGroup)&&(e=k.readCookieParam(S.OPTANON_CONSENT,p.CONSENT_ID)),t.value=e):(t=document.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR))&&(t.value=""))},Rn.prototype.showHealthSignatureModal=function(t){var o=this;an.hideConsentNoticeV2(),this.langJson=I,this.parentElement=document.querySelector(this.PARENT_SELECTOR),this.setMyHealthDataModal(function(e){o.setSignHealthDataIntoCookieGroup(e),t()},function(){f.toggleGroupHtmlElement(o.healthSignatureGroup,o.healthSignatureGroup.CustomGroupId,!1),t()})},Rn.prototype.setMyHealthDataModal=function(e,t){this.isModal=!0,this.acceptAllCallback=e,this.rejectAllCallback=t,this.configOptions={mainTitle:this.healthSignatureGroup.GroupName,description:this.healthSignatureGroup.GroupDescription,subtitle:this.langJson.PCRequireSignatureHeaderText,ariaLabel:this.langJson.PCRequireSignatureHeaderDesc,errorMessage:this.langJson.PCRequireSignatureHelpText,subDescription:this.langJson.PCRequireSignatureHeaderDesc,inputLabelText:this.langJson.PCRequireSignatureFieldLabel,rejectButtonText:this.langJson.PCRequireSignatureRejectBtnText,acceptButtonText:this.langJson.PCRequireSignatureConfirmBtnText};e=document.createDocumentFragment(),t=this.createModal(e);this.healthSignatureElement=this.createHealtSignatureForm(t),this.parentElement.appendChild(e),this.setFocusOnInput(),this.hideErrorMessage(),this.addEventHandlers(),this.genericModal.openModalHandler()},Rn.prototype.setSignHealthDataIntoCookieGroup=function(e){e?(dr.setDataSubjectIdV2(e),A.healthSignatureData=e,f.toggleGrpStatus(this.healthSignatureGroup,!0)):(A.healthSignatureData="",f.toggleGrpStatus(this.healthSignatureGroup,!1)),k.writeCookieParam(S.OPTANON_CONSENT,p.HEALTH_SIGNATURE_AUTHORIZATION,e?"1":"")},Rn.prototype.createModal=function(e){var t=this.setModalStyles();return this.genericModal=Dn(this.MODAL_ID_SELECTOR,t,this.parentElement),e.appendChild(this.genericModal.dialogLayerHtml),this.genericModal.modalHtml},Rn.prototype.createHealtSignatureForm=function(e){var t='\n
\n
'+t.subtitle+'
\n

'+t.subDescription+'

\n
\n
\n

'+t.mainTitle+'

\n

'+t.description+'

\n
\n
\n \n \n \n '+t.errorMessage+'\n \n
\n
\n \n \n
\n ",t=(e.innerHTML=t,this.setConsentIdInput(e),e.querySelector(this.ACCEPT_ALL_SELECTOR)),t=(this.setAcceptButtonsStyles(t),e.querySelector(this.REJECT_ALL_SELECTOR)),t=(this.setRejectButtonsStyles(t),e.querySelectorAll(this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR));return this.setParagraphStyles(t),e.querySelector(".ot-signature-health")},Rn.prototype.addEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_ALL_SELECTOR).addEventListener("click",this.rejectAllListener.bind(this)),this.parentElement.querySelector(this.ACCEPT_ALL_SELECTOR).addEventListener("click",this.acceptAllListener.bind(this))):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).addEventListener("keyup",this.healthSignatureInputChanged.bind(this))},Rn.prototype.removeModal=function(){this.removeEventHandlers(),this.genericModal.closeModalHandler()},Rn.prototype.removeEventHandlers=function(){this.isModal?(this.parentElement.querySelector(this.REJECT_ALL_SELECTOR).removeEventListener("click",this.rejectAllListener),this.parentElement.querySelector(this.ACCEPT_ALL_SELECTOR).removeEventListener("click",this.acceptAllListener)):this.parentElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).removeEventListener("keyup",this.healthSignatureInputChanged)},Rn.prototype.rejectAllListener=function(){this.removeModal(),this.rejectAllCallback&&this.rejectAllCallback()},Rn.prototype.acceptAllListener=function(){var e=this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).value;this.hideErrorMessage(""!==e),e&&(this.removeModal(),this.acceptAllCallback(e))},Rn.prototype.healthSignatureInputChanged=function(e){A.healthSignatureData=e.target.value},Rn.prototype.setModalStyles=function(){var e={};return e.backgroundColor=this.langJson.pcBackgroundColor,e},Rn.prototype.setParagraphStyles=function(e){var t=this,o={};o.color=this.langJson.textColor,e.forEach(function(e){t.setStylesInElement(e,o)})},Rn.prototype.hideErrorMessage=function(e){void 0===e&&(e=!0),this.healthSignatureElement.querySelector(this.ERROR_MSG_SELECTOR).style.opacity=e?"0":"1"},Rn.prototype.setFocusOnInput=function(){this.healthSignatureElement.querySelector(this.HEALTH_SIGNATURE_INPUT_SELECTOR).focus()},Rn.prototype.setRejectButtonsStyles=function(e){var t={};t.color=this.langJson.bannerMPButtonTextColor,t.borderColor=this.langJson.bannerMPButtonTextColor,t.backgroundColor=this.langJson.bannerMPButtonColor,this.setStylesInElement(e,t)},Rn.prototype.setAcceptButtonsStyles=function(e){var t={};t.color=this.langJson.buttonTextColor,t.borderColor=this.langJson.buttonColor,t.backgroundColor=this.langJson.buttonColor,this.setStylesInElement(e,t)},Rn.prototype.setStylesInElement=function(e,t){for(var o in t)e.style[o]=t[o]};var Hn=Rn;function Rn(){this.PARENT_SELECTOR="#onetrust-consent-sdk",this.MODAL_ID_SELECTOR="#healthSignatureDataModal",this.ERROR_MSG_SELECTOR="#otHealthSignatureErrorMesg",this.REJECT_ALL_SELECTOR=".ot-signature-button.reject",this.ACCEPT_ALL_SELECTOR=".ot-signature-button.accept",this.HEALTH_SIGNATURE_INPUT_SELECTOR="#otHealthSignatureData",this.HEALTH_SIGNATURE_PARAGRAPH_SELECTOR="p.ot-signarure-paragraph"}Mn.prototype.updateDataSubjectTimestamp=function(){var e=h.alertBoxCloseDate(),e=e&&y.getUTCFormattedDate(e);_(".ot-userid-timestamp").html(I.PCenterUserIdTimestampTitleText+": "+e)},Mn.prototype.closeBanner=function(e){this.closeOptanonAlertBox(),e?this.allowAll(!1):this.close(!1)},Mn.prototype.allowAll=function(e,t){void 0===t&&(t=!1),v.moduleInitializer.MobileSDK?window.OneTrust.AllowAll():this.AllowAllV2(e,t)},Mn.prototype.bannerActionsHandler=function(t,n,e){var r=this,i=(void 0===e&&(e=!1),dn.setLandingPathParam(p.NOT_LANDING_PAGE),L.groupsConsent=[],L.hostsConsent=[],L.genVendorsConsent={},{});I.Groups.forEach(function(e){if(e.IsAboutGroup)return!1;M(e.SubGroups,[e]).forEach(function(e){var o=r.getGroupStatus(t,n,e);r.setGroupConsent(o,e),e.Hosts.length&&y.isOptOutEnabled()&&e.Hosts.forEach(function(e){var t;i[e.HostId]?mo.updateHostStatus(e,o):(i[e.HostId]=!0,t=mo.isHostPartOfAlwaysActiveGroup(e.HostId),L.hostsConsent.push(e.HostId+":"+(t||o?"1":"0")))}),L.genVenOptOutEnabled&&e.GeneralVendorsIds&&e.GeneralVendorsIds.length&&e.GeneralVendorsIds.forEach(function(e){Co.updateGenVendorStatus(e,o)})})}),I.IsIabEnabled&&(t?this.iab.allowAllhandler():this.iab.rejectAllHandler(e)),en.removeAddedOTCssStyles(),an.hideConsentNoticeV2(),ao.writeGrpParam(S.OPTANON_CONSENT),ao.writeHstParam(S.OPTANON_CONSENT),L.genVenOptOutEnabled&&ao.writeGenVenCookieParam(S.OPTANON_CONSENT),L.vsIsActiveAndOptOut&&ao.writeVSConsentCookieParam(S.OPTANON_CONSENT),yn.substitutePlainTextScriptTags(),hn.updateGtmMacros(),this.executeOptanonWrapper()},Mn.prototype.getGroupStatus=function(e,t,o){return e?o.Status.toLowerCase()!==m.ALWAYS_INACTIVE:!!t&&C.isAlwaysActiveGroup(o)},Mn.prototype.setGroupConsent=function(e,t){var o;-1 div[role="alertdialog"]')).css("height: 100%;"),_(n(nn+' > div[role="alertdialog"]')).attr(this._ariaLabel,I.MainText),I.PCRegionAriaLabel&&(_(n("#onetrust-pc-sdk")).attr(this._ariaLabel,I.PCRegionAriaLabel),_(n("#onetrust-pc-sdk")).attr("role","region")),A.pcName===it&&(_(n(P.P_Privacy_Txt)).html(I.AboutCookiesText),_(n(P.P_Privacy_Hdr)).html(I.AboutCookiesText)),e=''+A.tcf2ActiveVendors.all.toString()+"",e=y.replaceTextFromString("[VENDOR_NUMBER]",I.MainInfoText,e),_(n(P.P_Policy_Txt)).html(e),B.configureLinkFields(n),B.configureSubjectDataFields(n),B.configureButtons(n,o),B.setManagePreferenceText(n),B.initializePreferenceCenterGroups(n,t),B.removeListsWhenAppropriate(n),I.PCTemplateUpgrade)&&B.setOptOutSignalNotification(n),document.createElement("iframe")),o=(e.setAttribute("class","ot-text-resize"),e.setAttribute("sandbox","allow-same-origin"),e.setAttribute("title","onetrust-text-resize"),d(e,"position: absolute; top: -50000px; width: 100em;"),e.setAttribute(this._ariaHidden,"true"),_(t.querySelector("#onetrust-pc-sdk")).append(e),document.getElementById("onetrust-consent-sdk")),n=(_(o).append(t),A.ignoreInjectingHtmlCss||_(document.body).append(o),(I.showCookieList||L.showGeneralVendors)&&yn.InitializeHostList(),P.P_Vendor_List+" "+P.P_Host_Cntr+" li"),e=_(n).el[0];e&&b.removeChild(e)},n.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||_(e).addClass("ot-sdk-not-webkit"),I.useRTL&&_(e).attr("dir","rtl"),A.legIntSettings.PAllowLI&&A.isIab2orv2Template&&(_(e).addClass("ot-leg-opt-out"),A.legIntSettings.PShowLegIntBtn)&&_(e).addClass("ot-leg-btn"),I.BannerRelativeFontSizesToggle&&_(e).addClass("otRelFont"),I.PCShowConsentLabels&&_(e).addClass("ot-tgl-with-label"),(I.UseGoogleVendors||L.showGeneralVendors)&&_(e).addClass("ot-addtl-vendors"),"right"===I.PreferenceCenterPosition&&_(e).addClass(I.useRTL?"right-rtl":"right")},n.prototype.manageCloseButtons=function(e,t,o){var n=_(t(P.P_Close_Btn)).el;if(I.ShowPreferenceCenterCloseButton){I.CloseText||(I.CloseText="Close Preference Center");for(var r=0,i=n;r'+I.AboutText+""),I.PCenterImprintLinkText&&(I.AboutText||e(P.P_Policy_Txt).insertAdjacentHTML("beforeend","
"),(t=document.createElement("a")).classList.add("ot-link-btn","ot-imprint-handler"),t.textContent=I.PCenterImprintLinkText,t.setAttribute(this._ariaLabel,I.PCenterImprintLinkScreenReader),t.setAttribute("href",I.PCenterImprintLinkUrl),t.setAttribute("rel","noopener"),t.setAttribute("target","_blank"),e(P.P_Policy_Txt).appendChild(t)),I.PCenterVendorListLinkText&&(t=!I.IsIabEnabled&&L.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler",e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",'"))},n.prototype.configureSubjectDataFields=function(e){var t;I.PCTemplateUpgrade&&I.PCenterUserIdTitleText&&I.IsConsentLoggingEnabled&&(t=k.readCookieParam(S.OPTANON_CONSENT,p.CONSENT_ID),e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",'
'+I.PCenterUserIdTitleText+": "+t+"
"),I.PCenterUserIdDescriptionText&&e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",'
'+I.PCenterUserIdDescriptionText+"
"),I.PCenterUserIdTimestampTitleText)&&(t=(t=k.getCookie(S.ALERT_BOX_CLOSED))&&y.getUTCFormattedDate(t)||I.PCenterUserIdNotYetConsentedText,e(P.P_Policy_Txt).insertAdjacentHTML("beforeend",'
'+I.PCenterUserIdTimestampTitleText+": "+t+"
"))},n.prototype.setManagePreferenceText=function(e){var e=e(P.P_Manage_Cookies_Txt),t=_(e);e&&(t.html(I.ManagePreferenceText),I.ManagePreferenceText||t.attr(this._ariaHidden,!0))},n.prototype.configureButtons=function(e,t){I.ConfirmText.trim()?_(e("#accept-recommended-btn-handler")).html(I.ConfirmText):e("#accept-recommended-btn-handler").parentElement.removeChild(e("#accept-recommended-btn-handler"));for(var o=t(".save-preference-btn-handler"),n=0;nh3");_(r).html(t),_(r).attr("id",o),A.pcName===it&&(e.querySelector(P.P_Category_Header).innerHTML=t,e.querySelector(""+P.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},n.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0,r=(-1 '+P.P_Arrw_Cntr)).el.cloneNode(!0),E.subGrpEl=_(e(P.P_Sub_Grp_Cntr)).el.cloneNode(!0),E.vListEl=_(e(P.P_Ven_Lst_Cntr)).el.cloneNode(!0),E.cListEl=_(e(P.P_Host_Lst_cntr)).el.cloneNode(!0),E.chkboxEl=_(e(P.P_CBx_Cntr)).el.cloneNode(!0),E.accordionEl=_(e(".ot-acc-cntr")).el.cloneNode(!0),t.test(A.pcName)&&(E.plusMinusEl=_(e(".ot-plus-minus")).el.cloneNode(!0)),b.removeChild(e(".ot-tgl")),b.removeChild(e('#onetrust-pc-sdk [role="alertdialog"] > '+P.P_Arrw_Cntr)),b.removeChild(e(P.P_Sub_Grp_Cntr)),b.removeChild(e(P.P_Ven_Lst_Cntr)),b.removeChild(e(P.P_Host_Lst_cntr)),b.removeChild(e(P.P_CBx_Cntr)),b.removeChild(e(".ot-acc-cntr")),t.test(A.pcName)&&b.removeChild(e(".ot-plus-minus"))},n.prototype.insertSelectAllEls=function(e){var e=e(P.P_Select_Cntr+" .ot-sel-all-chkbox"),t=L.showVendorService?Gn():E.chkboxEl.cloneNode(!0),t=(t.id=P.P_Sel_All_Host_El,t.querySelector("input").id="select-all-hosts-groups-handler",t.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),_(e).append(t),L.showVendorService?Gn():E.chkboxEl.cloneNode(!0)),t=(t.id=P.P_Sel_All_Vendor_Consent_El,t.querySelector("input").id="select-all-vendor-groups-handler",t.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),_(e).append(t),L.showVendorService?Gn():E.chkboxEl.cloneNode(!0));t.id=P.P_Sel_All_Vendor_Leg_El,t.querySelector("input").id="select-all-vendor-leg-handler",t.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),_(e).append(t)},n.prototype.initializePreferenceCenterGroups=function(e,t){var o,n=A.pcName,r=(v.isV2Template&&(B.cloneOtHtmlEls(e),(r=E.chkboxEl.cloneNode(!0)).querySelector("input").classList.add("category-filter-handler"),_(e(P.P_Fltr_Modal+" "+P.P_Fltr_Option)).append(r),B.insertSelectAllEls(e)),_(e("#onetrust-pc-sdk "+P.P_Category_Grp))),i=(n===tt||n===nt||n===ot?I.PCenterEnableAccordion?b.removeChild(r.el.querySelector(P.P_Category_Item+":not(.ot-accordion-layout)")):b.removeChild(r.el.querySelector(P.P_Category_Item+".ot-accordion-layout")):n===it&&(I.PCenterEnableAccordion=!1),e("#onetrust-pc-sdk "+P.P_Category_Item)),s=v.isV2Template?E.subGrpEl.cloneNode(!0):_(e(P.P_Sub_Grp_Cntr)),a=v.isV2Template?null:_(e(P.P_Acc_Container+" "+P.P_Sub_Grp_Cntr));I.PCTemplateUpgrade&&/otPcTab/.test(n)&&(o=e(".ot-abt-tab").cloneNode(!0),b.removeChild(e(".ot-abt-tab"))),r.el.removeChild(i),B.setVendorListClass(e,i),B.setPCHeader(e,i),B.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:i,cookiePreferencesContainer:r,popupSubGrpContainer:a,subGrpContainer:s}),B.setPcTabLayout(e,t,o)},n.prototype.getActiveVendorCount=function(e){var t=parseInt(e.IabGrpId),o=0;return e.Type===T.GroupTypes.Pur?o=A.tcf2ActiveVendors.pur.get(t):e.Type===T.GroupTypes.Ft?o=A.tcf2ActiveVendors.ft.get(t):e.Type===T.GroupTypes.Spl_Pur?o=A.tcf2ActiveVendors.spl_pur.get(t):e.Type===T.GroupTypes.Spl_Ft&&(o=A.tcf2ActiveVendors.spl_ft.get(t)),o||0},n.prototype.getActiveVendorCountForStack=function(e){return A.tcf2ActiveVendors.stack.get(e)||0},n.prototype.getVendorCountEl=function(e,t){var o="[VENDOR_NUMBER]",n="";switch(t){case mt:n=I.PCVendorsCountFeatureText;break;case St:n=I.PCVendorsCountSpcFeatureText;break;case ft:n=I.PCVendorsCountSpcPurposeText;break;default:n=I.PCVendorsCountText}return n&&-1 '+n.replace(o,e.toString())+" ":""},n.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,e=I.Groups.filter(function(e){return e.Order}),a=0===r.el.children.length;I.PCTemplateUpgrade&&(L.showVendorService?O.setHtmlTemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')):O.removeVSUITemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')));for(var l=0,c=e;l"),e.insertAdjacentHTML("afterend"," | "+o.PCVendorFullLegalText+' '+I.NewWinTxt+""))},n.prototype.setHostListBtn=function(e,t,o,n){var r,i=A.pcName,s=!1,a=(I.showCookieList&&(s=-1h4, .cookie-subgroup>h5, .cookie-subgroup>h6, .ot-subgrp>h4, .ot-subgrp>h5, .ot-subgrp>h6"),g=c.querySelector(P.P_Tgl_Cntr),d=(c.setAttribute("data-optanongroupid",d),v.isV2Template?((t=B.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",d),t.querySelector("input").classList.add("cookie-subgroup-handler"),t=t.cloneNode(!0),g.insertAdjacentElement("beforeend",t)):(t=c.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",d),_(i.querySelector(P.P_Subgp_ul)).html(""),B.addSubgroupName(n,h),B.setDataIfVendorServiceEnabled(h,c,t),t.querySelector("input").setAttribute("id",u),t.querySelector("input").setAttribute(this._ariaLabel,n.GroupName),t.querySelector("label").setAttribute("for",u),B.setSubGroupDescription({json:e,group:o,subgroup:n,subGroupClone:c}),A.isTcfV2Template&&Jn.addIllustrationsLink(c,n,o.ShowVendorList,!0),M(bt,kt));o.ShowSubgroupToggle&&-1"+(o?I.AlwaysInactiveText:I.AlwaysActiveText)+"","ce").el):(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(P.P_Category_Header)).id)?void 0:n.split("-")[3]),!v.isV2Template&&I.PCenterEnableAccordion&&(r="ot-status-id-"+(r=null==(n=r=(t=e.querySelector(P.P_Arrw_Cntr)).id)?void 0:n.split("-")[3])),_(t).el.insertAdjacentElement("afterend",_('
"+(o?I.AlwaysInactiveText:I.AlwaysActiveText)+"
","ce").el)),I.PCenterEnableAccordion?(n=e.querySelector(P.P_Acc_Header))&&n.classList.add("ot-always-active-group"):((t=e.querySelector(""+P.P_Desc_Container))&&t.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group"))},n.prototype.setPcTabLayout=function(e,t,o){var n=e(".ot-tab-desc");"otPcTab"===A.pcName&&(o&&e("#onetrust-pc-sdk "+P.P_Category_Grp).insertAdjacentElement("afterbegin",o),n&&640\n '+I.BannerIABPartnersLink+"\n "),o},er.prototype.setBannerData=function(e){var t;I.BannerTitle?(_(e("#onetrust-policy-title")).html(I.BannerTitle),_(e('[role="alertdialog"]')).attr(ht,I.BannerTitle)):(b.removeChild(e("#onetrust-policy-title")),_(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),_(e('[role="alertdialog"]')).attr(ht,I.AriaPrivacy)),!I.IsIabEnabled&&L.showGeneralVendors&&I.BannerNonIABVendorListText&&((t=document.createElement("div")).setAttribute("id","ot-gv-link-ctnr"),_(t).html('"),_(e("#onetrust-policy")).el.appendChild(t)),_(e(Zn.POLICY_TEXT_SELECTOR)).html(I.AlertNoticeText),this.setBannerLinkAttributes(e)},er.prototype.setBannerLinkAttributes=function(e){var t;_(e(this.cookiePolicyLinkSelector)).length&&(I.BShowPolicyLink&&I.BShowImprintLink?((t=_(e(Zn.POLICY_TEXT_SELECTOR+" a:first-of-type"))).attr(ht,I.BCookiePolicyLinkScreenReader),t.attr("rel","noopener"),t.attr("target","_blank"),(t=_(e(Zn.POLICY_TEXT_SELECTOR+" a:nth-of-type(2)"))).attr(ht,I.BImprintLinkScreenReader),t.attr("rel","noopener"),t):(t=_(e(this.cookiePolicyLinkSelector)),I.BShowPolicyLink?t.attr(ht,I.BCookiePolicyLinkScreenReader):I.BShowImprintLink&&t.attr(ht,I.BImprintLinkScreenReader),t.attr("rel","noopener"),t)).attr("target","_blank")},er.prototype.isCmpEnabled=function(){return I.BannerPurposeTitle||I.BannerPurposeDescription||I.BannerFeatureTitle||I.BannerFeatureDescription||I.BannerInformationTitle||I.BannerInformationDescription},er.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}var o,n=this,r=this.isCmpEnabled(),i=(this.setOptOutSignalNotification(e),"[VENDOR_NUMBER]"),s=_(e(Zn.POLICY_TEXT_SELECTOR)).html(),i=(A.isIab2orv2Template&&-1'+A.tcf2ActiveVendors.all.toString()+"",s=y.replaceTextFromString(i,s,o),_(e(Zn.POLICY_TEXT_SELECTOR)).html(s)),I.BRegionAriaLabel&&(_(e("#onetrust-banner-sdk")).attr("role","region"),_(e("#onetrust-banner-sdk")).attr(ht,I.BRegionAriaLabel)),A.bannerName===$e&&v.moduleInitializer.IsSuppressPC&&(L.dataGroupState=I.Groups.filter(function(e){return e.Order})),A.bannerName===$e&&(this._fourBtns=I.BannerShowRejectAllButton&&I.showBannerAcceptButton&&I.showBannerCookieSettings&&I.BShowSaveBtn,this._saveBtn=e(".ot-bnr-save-handler"),this._settingsBtn=e("#onetrust-pc-btn-handler"),this._btnsCntr=e(".banner-actions-container"),I.BShowSaveBtn?_(this._saveBtn).html(I.BSaveBtnTxt):(b.removeChild(this._saveBtn),this._saveBtn=null),y.insertFooterLogo(t.querySelectorAll(".ot-bnr-footer-logo a")),this._descriptCntr=e(".ot-cat-lst"),this.setBannerBtn(),window.addEventListener("resize",function(){n.setBannerBtn()}),this._fourBtns&&_(e("#onetrust-banner-sdk")).addClass("has-reject-all-button"),this.insertGrps(e)),document.createElement("div"));_(i).append(t),A.ignoreInjectingHtmlCss||(_("#onetrust-consent-sdk").append(i.firstChild),r&&this.setBannerOptionContent()),this.setBnrBtnGrpAlignment()},er.prototype.setAriaModalForBanner=function(e){I.ForceConsent&&e.querySelector('[role="alertdialog"]').setAttribute("aria-modal","true")},er.prototype.setBnrBtnGrpAlignment=function(){var e=_(this._otGrpContainerSelector).el,t=_(this._btnGrpParentSelector).el,e=((e.length&&e[0].clientHeight)<(t.length&&t[0].clientHeight)?_("#onetrust-banner-sdk").removeClass("vertical-align-content"):_("#onetrust-banner-sdk").addClass("vertical-align-content"),document.querySelector("#onetrust-button-group-parent button:first-of-type")),t=document.querySelector("#onetrust-button-group-parent button:last-of-type");t&&e&&1"+(c?I.AlwaysInactiveText:I.AlwaysActiveText)+"","ce").el)):_(e).attr("disabled",!0)),e.classList.add("category-switch-handler"),f.setInputID(e,i,r,a,s),t.querySelector("h4"));_(l).html(n),_(l).attr("id",s),_(u).append(t)})},er.prototype.setBannerLogo=function(e,t){var o,n;v.fp.CookieV2BannerLogo&&I.BnrLogo&&(o=t(on),n="afterend",A.bannerName===Qe&&(o=t("#onetrust-cookie-btn"),n="beforeend"),t=y.updateCorrectUrl(I.BnrLogo),_(e).addClass("ot-bnr-w-logo"),_(o).el.innerHTML="",o.insertAdjacentHTML(n,""))},er.prototype.setOptOutSignalNotification=function(e){var t=A.gpcEnabled&&A.gpcForAGrpEnabled;I.BShowOptOutSignal&&(t||A.previewMode)&&y.createOptOutSignalElement(e,!1)};var Zn,$n=er;function er(){this.POLICY_TEXT_SELECTOR="#onetrust-policy-text",this.El="#onetrust-banner-sdk",this._saveBtn=null,this._settingsBtn=null,this._acceptBtn=null,this._rejectBtn=null,this._descriptCntr=null,this._btnsCntr=null,this._fourBtns=!1,this._bannerOptionsSelector="#banner-options",this._btnGrpParentSelector="#onetrust-button-group-parent",this._otGrpContainerSelector="#onetrust-group-container",this.cookiePolicyLinkSelector="#onetrust-policy-text a"}or.prototype.setHeaderConfig=function(){c.setHeader(),c.setSearchInput(),c.setHeaderUIConsent();var e=c.getGroupsForFilter();qn.setFilterListByGroup(e,!1)},or.prototype.filterVendorByString=function(e){c.searchQuery=e,c.filterVendorByGroupOrQuery()},or.prototype.filterVendorByGroup=function(e){c.filterGroups=e,c.filterVendorByGroupOrQuery()},or.prototype.showVSList=function(){c.removeListeners(),c.showEmptyResults(!1,""),c.clearUIElementsInMain(),c.addVSList(L.getVendorsInDomain())},or.prototype.showEmptyResults=function(e,t){e?this.setNoResultsContent(t):(_("#onetrust-pc-sdk "+P.P_Vendor_Content).removeClass("no-results"),(e=_("#onetrust-pc-sdk #no-results")).length&&e.remove())},or.prototype.setNoResultsContent=function(e){var t,o,n,r,i=_("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=document.createElement("div"),o=document.createElement("p"),n=document.createTextNode(" "+I.PCVendorNotFound+"."),r=document.createElement("span"),t.id="no-results",r.id="user-text",r.innerText=e,o.appendChild(r),o.appendChild(n),t.appendChild(o),_("#onetrust-pc-sdk "+P.P_Vendor_Content).addClass("no-results"),_("#vendor-search-handler").el[0].setAttribute("aria-describedby",t.id),_("#onetrust-pc-sdk "+P.P_Vendor_Content).append(t);i.querySelector("span").innerText=e},or.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=_("#onetrust-pc-sdk .category-filter-handler").el;t input:first-child,"+P.P_Category_Item+" > button:first-child",w.onCategoryItemToggle.bind(this)),(I.showCookieList||L.showGeneralVendors)&&(_("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){L.showGeneralVendors&&I.showCookieList?L.cookieListType=Ce.HostAndGenVen:L.showGeneralVendors?L.cookieListType=Ce.GenVen:L.cookieListType=Ce.Host,w.pcLinkSource=e.target,w.loadCookieList(e.target)}),y.isOptOutEnabled()?(_("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",w.selectAllHostsGroupsHandler),_("#onetrust-pc-sdk "+P.P_Host_Cntr).on("click",w.selectHostsGroupHandler)):_("#onetrust-pc-sdk "+P.P_Host_Cntr).on("click",w.toggleAccordionStatus)),w.addListenerWhenIabEnabled(),w.addEventListenerWhenIsHostOrVendorsAreEnabled(),w.adddListenerWhenNoBanner(),_("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return u(e,void 0,void 0,function(){return F(this,function(e){return L.cookieListType=Ce.GenVen,w.loadCookieList(t.target),[2]})})}),w.addListenerWhenVendorServices()},r.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){var e;(I.IsIabEnabled||I.showCookieList||L.showGeneralVendors||L.showVendorService)&&(_(document).on("click",".back-btn-handler",w.backBtnHandler),w.addListenerSearchKeyEvent(),_("#onetrust-pc-sdk #filter-btn-handler").on("click",w.toggleVendorFiltersHandler),_("#onetrust-pc-sdk #filter-apply-handler").on("click",w.applyFilterHandler),_("#onetrust-pc-sdk "+P.P_Fltr_Modal).on("click",w.tglFltrOptionHandler),!v.isV2Template&&A.pcName!==rt||_("#onetrust-pc-sdk #filter-cancel-handler").on("click",w.cancelFilterHandler),!v.isV2Template&&A.pcName===rt||_("#onetrust-pc-sdk #clear-filters-handler").on("click",w.clearFiltersHandler),v.isV2Template?_("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),_("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):_("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),_("#onetrust-pc-sdk .category-filter-handler").el[0].focus())}),e=_("#onetrust-pc-sdk .category-filter-handler").el,_(e[0]).on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||(e.preventDefault(),_("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())}))},r.prototype.addListenerSearchKeyEvent=function(){_(w.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){e=e.target.value.trim();w.currentSearchInput!==e&&(L.showVendorService?c.filterVendorByString(e):w.isCookieList?(N.searchHostList(e),L.showTrackingTech&&w.addEventAdditionalTechnologies()):(N.loadVendorList(e,[]),I.UseGoogleVendors&&N.searchVendors(N.googleSearchSelectors,L.addtlVendorsList,me.GoogleVendor,e),L.showGeneralVendors&&I.GeneralVendors.length&&N.searchVendors(N.genVendorSearchSelectors,I.GeneralVendors,me.GeneralVendor,e)),N.playSearchStatus(w.isCookieList),w.currentSearchInput=e)})},r.prototype.addListenerWhenIabEnabled=function(){I.IsIabEnabled&&(_("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){w.pcLinkSource=e.target,w.showVendorsList(e.target)}),_("#onetrust-pc-sdk .ot-pgph-link").on("click",function(e){w.pcLinkSource=e.target,w.showIllustrations(e.target)}),_("#onetrust-pc-sdk "+P.P_Vendor_Container).on("click",w.selectVendorsGroupHandler),I.UseGoogleVendors||w.bindSelAllHandlers(),w.initialiseLegIntBtnHandlers())},r.prototype.adddListenerWhenNoBanner=function(){I.NoBanner&&(I.OnClickCloseBanner&&document.body.addEventListener("click",V.bodyClickEvent),I.ScrollCloseBanner)&&window.addEventListener("scroll",V.scrollCloseBanner)},r.prototype.addListenerWhenVendorServices=function(){L.showVendorService&&(w.bindSelAllHandlers(),_("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){return w.showVendorsList(null,!0)}))},r.prototype.bindSelAllHandlers=function(){_("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",w.selectAllVendorsLegIntHandler),_("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",w.SelectAllVendorConsentHandler)},r.prototype.hideCookieSettingsHandler=function(e){return void 0===e&&(e=window.event),Hn.getInstance().resetHealthSignatureData(),g.triggerGoogleAnalyticsEvent(bo,Lo),en.removeAddedOTCssStyles($o.PC),an.hideConsentNoticeV2(),_(document).off("keydown",w.closePCWhenEscPressed),w.getResizeElement().removeEventListener("resize",w.setCenterLayoutFooterHeight),window.removeEventListener("resize",w.setCenterLayoutFooterHeight),!v.isV2Template&&A.pcName!==rt||w.closeFilter(!1),A.pcName===ot&&_("#onetrust-pc-sdk "+P.P_Content).removeClass("ot-hide"),V.hideVendorsList(),G.csBtnGroup&&(_(w.fltgBtnSltr).removeClass("ot-pc-open"),w.floatingCookieSettingCloseBtnClicked(null)),w.confirmPC(e),V.resetConsent(),!1},r.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target.checked,e=_("#onetrust-pc-sdk #"+P.P_Sel_All_Host_El).el[0],o=e.classList.contains("line-through"),n=_("#onetrust-pc-sdk .host-checkbox-handler").el;b.setCheckedAttribute("#select-all-hosts-groups-handler",null,t);for(var r=0;r button",w.toggleAccordionStatus.bind(this)))),L.vendorDomInit||(L.vendorDomInit=!0,w.initialiseLegIntBtnHandlers(),I.UseGoogleVendors&&(w.initialiseAddtlVenHandler(),w.bindSelAllHandlers())),L.showGeneralVendors&&!L.genVendorDomInit&&(L.genVendorDomInit=!0,N.initGenVendors(),w.initializeGenVenHandlers(),I.UseGoogleVendors||(w.bindSelAllHandlers(),_(""+w.PC_SELECTOR).on("click",".ot-acc-cntr > button",w.toggleAccordionStatus.bind(this))))},r.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0=e?d(_(""+w.PC_SELECTOR).el[0],"height: "+e+"px;",!0):d(_(""+w.PC_SELECTOR).el[0],"height: auto;",!0)})},r.prototype.changeSelectedTab=function(e){var t,o=_("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=_(o.el[0]);o.each(function(e,t){_(e).el.classList.contains(P.P_Active_Menu)&&(n=t,_(e).el.classList.remove(P.P_Active_Menu),r=_(e))}),e.keyCode===se.RightArrow?t=n+1>=o.el.length?_(o.el[0]):_(o.el[n+1]):e.keyCode===se.LeftArrow&&(t=_(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},r.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement,e=(e.keyCode===se.RightArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===se.LeftArrow&&(t=o.previousElementSibling||o.parentElement.lastChild),t.querySelector(".category-menu-switch-handler"));e.focus(),this.groupTabClick(e)},r.prototype.categoryMenuSwitchHandler=function(){for(var t=this,e=_("#onetrust-pc-sdk .category-menu-switch-handler").el,o=0;o.8*window.innerHeight||0===this.pcBodyHeight?d(e,"height: "+.8*window.innerHeight+"px;",!0):d(e,"height: "+i+"px;",!0):d(e,"height: 100%;",!0)):d(e.querySelector(""+P.P_Content),"height: "+(e.clientHeight-t.clientHeight-o.clientHeight-3)+"px;",!0)},r.prototype.allowAllVisible=function(e){e!==this.allowVisible&&I.PCLayout.Tab&&I.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},r.prototype.restorePc=function(){L.pcLayer===ie.CookieList?(w.hideCategoryContainer(!0),N.loadHostList("",L.filterByCategories),L.showTrackingTech&&w.addEventAdditionalTechnologies(),_(""+w.FILTER_COUNT_SELECTOR).text(L.filterByCategories.length.toString())):L.pcLayer===ie.VendorList&&(w.hideCategoryContainer(!1),w.setVendorContent()),L.isPCVisible=!1,w.toggleInfoDisplay(),L.pcLayer!==ie.VendorList&&L.pcLayer!==ie.CookieList||(yn.updateFilterSelection(L.pcLayer===ie.CookieList),w.setBackButtonFocus(),ko.setPCFocus(ko.getPCElements()))},r.prototype.toggleInfoDisplay=function(){return u(this,void 0,void 0,function(){var t;return F(this,function(e){switch(e.label){case 0:return G.csBtnGroup&&(_(w.fltgBtnSltr).addClass("ot-pc-open"),w.otGuardLogoPromise.then(function(){I.cookiePersistentLogo.includes("ot_guard_logo.svg")&&_(w.fltgBtnFSltr).attr(gt,"true")}),_(w.fltgBtnBSltr).attr(gt,""),_(w.fltgBtnBackBtn).el[0].style.display="block"),[4,w.fetchAndSetupPC()];case 1:return e.sent(),A.pcName===ot&&this.setPcListContainerHeight(),void 0!==L.pcLayer&&L.pcLayer!==ie.Banner||(L.pcLayer=ie.PrefCenterHome),t=_(""+w.PC_SELECTOR).el[0],_(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),L.isPCVisible||(an.showConsentNotice(),L.isPCVisible=!0,I.PCTemplateUpgrade&&(this.pc=t,t=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=t&&0'):(_(this.COOKIE_POLICY_SELECTOR).html(""),_(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=I.Groups;l\n '+l.Name+"\n "),r.push(a)}h.setDataLabelAttribute(o,c),h.createCookieRowHtmlElement({host:e,subGroupCookie:l,trt:o,json:c,lifespanText:n.join(", "),hostType:r.join(", ")}),h.removeLifeSpanOrHostDescription(c,u,t,o),_(p("tbody")).append(t)}(n[o])},cr.prototype.insertGroupHTML=function(e){function t(e){return l.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,e=e.fragment,l=i.cloneNode(!0),i=(_(t("caption")).el.innerHTML=r.GroupName,_(t("tbody")).html(""),_(t("thead tr")),n.IsLifespanEnabled?_(t("th.life-span")).el.innerHTML=n.LifespanText:_(t("thead tr")).el.removeChild(_(t("th.life-span")).el),_(t("th.cookies")).el.innerHTML=n.CookiesText,_(t("th.host")).el.innerHTML=n.CategoriesText,!1);if(r.Hosts.some(function(e){return e.description})?i=!0:_(t("thead tr")).el.removeChild(_(t("th.host-description")).el),_(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),_(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0 "+y.getCookieLabel(o,n.AddLinksToCookiepedia)+"
  • ")}else l.removeChild(t(".cookies-used-header")),l.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:i,st:t}),_(a).append(l),_(e).append(a),_(this.COOKIE_POLICY_SELECTOR).append(e)},cr.prototype.insertHostHtmlV1=function(e){for(var l=e.json,t=e.hosts,c=e.tableRowTemplate,d=e.showHostDescription,u=e.st,o=0,n=t;o

    '+e.Description+"

    "),0),r=0,i=e.Cookies;r "+s.Name+" "+a+"
  • "),l.IsLifespanEnabled&&(a=s.Length?s.Length+" days":"N/A",_(o(".life-span-td ul")).append("
  • "+a+"
  • ")),0===n&&(_(o(".host-td")).append(''),_(o(".host-td")).append(''+(e.DisplayName||e.HostName)+"")),n++}d||t.removeChild(o("td.host-description-td")),_(u("tbody")).append(t)}(n[o]);0===t.length&&_(u("table")).el.removeChild(_(u("thead")).el)},cr.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice(),t=(e.forEach(function(e){n.populateHostGroup(e,r,I.firstPartyTxt)}),o.GeneralVendorsIds),e=(this.populateGenVendor(t,o,r),o.SubGroups||[]);return e.length&&e.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},cr.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=I.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){var t;e.category===o.GroupName&&(t=e.isThirdParty?"":I.firstPartyTxt,r.populateHostGroup(e,n,t))})})},cr.prototype.populateHostGroup=function(t,e,o){e.some(function(e){if(e.HostName===t.Host&&e.Type===o)return e.Cookies.push(t),!0})||e.unshift({HostName:t.Host,DisplayName:t.Host,HostId:"",Description:"",Type:o,Cookies:[t]})},cr.prototype.insertCookieLineByLine=function(e){for(var t=e.json,o=e.hosts,n=e.tableRowTemplate,r=e.showHostDescription,i=e.st,s=0,a=o;s'+h+"\n "),n.cloneNode(!0)),C=this.queryToHtmlElement(g);this.clearCookieRowElement(C),this.createCookieRowHtmlElement({host:l,subGroupCookie:u,trt:C,json:t,lifespanText:p,hostType:h}),this.removeLifeSpanOrHostDescription(t,r,g,C),_(i("tbody")).append(g)}},cr.prototype.removeLifeSpanOrHostDescription=function(e,t,o,n){e.IsLifespanEnabled||o.removeChild(n("td.ot-life-span-td")),t||o.removeChild(n("td.ot-host-description-td"))},cr.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.json,i=e.lifespanText,e=e.hostType,s=".ot-host-td",r=(this.setDataLabelAttribute(n,r),_(n(".ot-host-description-td")).html('

    '+o.description+"

    "),_(n(s)).append(''),t.DisplayName||t.HostName);_(n(s)).append(t.Type?r:'\n '+r+"\n "),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",e),n(".ot-life-span-td .ot-life-span-td-content").innerText=i,n(".ot-cookies-type .ot-cookies-type-td-content").innerText=t.Type?I.firstPartyTxt:I.thirdPartyTxt},cr.prototype.setDataLabelAttribute=function(e,t){var o="data-label";e(".ot-host-td").setAttribute(o,t.CategoriesText),e(".ot-cookies-td").setAttribute(o,t.CookiesText),e(".ot-cookies-type").setAttribute(o,t.CookiesUsedText),e(".ot-life-span-td").setAttribute(o,t.LifespanText),e(".ot-host-description-td").setAttribute(o,t.CookiesDescText)},cr.prototype.clearCookieRowElement=function(e){_(e(".ot-cookies-td span")).text(""),_(e(".ot-life-span-td span")).text(""),_(e(".ot-cookies-type span")).text(""),_(e(".ot-cookies-td .ot-cookies-td-content")).html(""),_(e(".ot-host-td")).html("")},cr.prototype.setCookieListHeaderOrder=function(e){var e=e.querySelector("section table thead tr"),t=e.querySelector("th.ot-host"),o=e.querySelector("th.ot-cookies"),n=e.querySelector("th.ot-life-span"),r=e.querySelector("th.ot-cookies-type"),i=e.querySelector("th.ot-host-description");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},cr.prototype.setCookieListBodyOrder=function(e){var t=e.querySelector("td.ot-host-td"),o=e.querySelector("td.ot-cookies-td"),n=e.querySelector("td.ot-life-span-td"),r=e.querySelector("td.ot-cookies-type"),i=e.querySelector("td.ot-host-description-td");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},cr.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}};var ar,lr=cr;function cr(){this.groupsClass=f,this.COOKIE_POLICY_SELECTOR="#ot-sdk-cookie-policy",this.OPTANON_POLICY_SELECTOR="#optanon-cookie-policy",this.ONETRUST_COOKIE_POLICY="#ot-sdk-cookie-policy, #optanon-cookie-policy"}pr.prototype.IsAlertBoxClosedAndValid=function(){return h.isAlertBoxClosedAndValid()},pr.prototype.LoadBanner=function(){g.loadBanner()},pr.prototype.Init=function(e){void 0===e&&(e=!1),Ne.insertViewPortTag(),G.ensureHtmlGroupDataInitialised(),hn.updateGtmMacros(!1),rr.initialiseLandingPath(),e||Xt.initialiseCssReferences()},pr.prototype.FetchAndDownloadPC=function(){w.fetchAndSetupPC()},pr.prototype.ToggleInfoDisplay=function(){g.triggerGoogleAnalyticsEvent(bo,Oo),w.toggleInfoDisplay()},pr.prototype.Close=function(e){w.close(e)},pr.prototype.AllowAll=function(e){V.allowAllEvent(e)},pr.prototype.RejectAll=function(e){V.rejectAllEvent(e)},pr.prototype.sendReceipt=function(){var e=k.readCookieParam(S.OPTANON_CONSENT,p.INTERACTION_TYPE);ti.createConsentTxn(!1,e,!1,!0,!0)},pr.prototype.setDataSubjectIdV2=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=""),e&&e.trim()&&(e=e.replace(/ /g,""),k.writeCookieParam(S.OPTANON_CONSENT,p.CONSENT_ID,e,!0),L.dsParams.isAnonymous=t),null!=(e=o)&&e.trim()&&k.writeCookieParam(S.OPTANON_CONSENT,p.IDENTIFIER_TYPE,o.trim())},pr.prototype.getDataSubjectId=function(){return k.readCookieParam(S.OPTANON_CONSENT,p.CONSENT_ID,!0)},pr.prototype.synchroniseCookieWithPayload=function(n){var e=k.readCookieParam(S.OPTANON_CONSENT,"groups"),e=b.strToArr(e),r=[];e.forEach(function(e){var e=e.split(":"),t=C.getGroupById(e[0]),o=b.findIndex(n,function(e){return e.Id===t.PurposeId}),o=n[o];o?o.TransactionType===xe?(r.push(e[0]+":1"),t.Parent?w.toggleSubCategory(null,t.CustomGroupId,!0,t.CustomGroupId):w.toggleV2Category(null,t,!0,t.CustomGroupId)):(r.push(e[0]+":0"),t.Parent?w.toggleSubCategory(null,t.CustomGroupId,!1,t.CustomGroupId):w.toggleV2Category(null,t,!1,t.CustomGroupId)):r.push(e[0]+":"+e[1])}),ao.writeGrpParam(S.OPTANON_CONSENT,r)},pr.prototype.getGeolocationData=function(){return L.userLocation},pr.prototype.TriggerGoogleAnalyticsEvent=function(e,t,o,n){g.triggerGoogleAnalyticsEvent(e,t,o,n)},pr.prototype.ReconsentGroups=function(){var n=!1,e=k.readCookieParam(S.OPTANON_CONSENT,"groups"),r=b.strToArr(e),i=b.strToArr(e.replace(/:0|:1/g,"")),s=!1,t=k.readCookieParam(S.OPTANON_CONSENT,"hosts"),a=b.strToArr(t),l=b.strToArr(t.replace(/:0|:1/g,"")),c=["inactive","inactive landingpage","do not track"];e&&(I.Groups.forEach(function(e){M(e.SubGroups,[e]).forEach(function(e){var t=e.CustomGroupId,o=b.indexOf(i,t);-1!==o&&(e=C.getGrpStatus(e).toLowerCase(),-1Ee.ChunkSize?s=Ee.ChunkSize:(s=n.length,o=1===r),o?(t[Ee.Name]=n,n=""):(i=n.slice(0,s),n=n.slice(s,n.length),t[""+Ee.Name+r]=i),r++}return t},ei.prototype.writeGppCookies=function(e,t){k.writeCookieParam(S.OPTANON_CONSENT,Ee.ChunkCountParam,e);for(var o=0,n=Object.entries(t);o\n \n \n
    \n \n \n
    Cookies Used
    \n
      \n
    • Cookie 1
    • \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    caption
    HostHost DescriptionCookiesLife Span
    Azure\n These\n cookies are used to make sure\n visitor page requests are routed to the same server in all browsing sessions.\n \n
      \n
    • ARRAffinity
    • \n
    \n
    \n
      \n
    • 100 days
    • \n
    \n
    \n
    \n
    \n \n \n
    Cookies Used
    \n
      \n
    • Cookie 1
    • \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    caption
    HostHost DescriptionCookiesLife Span
    Azure\n \n \n cookies are used to make sureng sessions.\n \n \n
      \n
    • ARRAffinity
    • \n
    \n
    \n
      \n
    • 100 days
    • \n
    \n
    \n
    \n\n\x3c!-- New Cookies policy Link--\x3e\n',css:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-left:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-right:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:left}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;left:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;left:6px;width:40%;padding-right:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;left:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-right:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;left:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-right:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}",cssRTL:".ot-sdk-cookie-policy{font-family:inherit;font-size:16px}.ot-sdk-cookie-policy.otRelFont{font-size:1rem}.ot-sdk-cookie-policy h3,.ot-sdk-cookie-policy h4,.ot-sdk-cookie-policy h6,.ot-sdk-cookie-policy p,.ot-sdk-cookie-policy li,.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy th,.ot-sdk-cookie-policy #cookie-policy-description,.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}.ot-sdk-cookie-policy h4{font-size:1.2em}.ot-sdk-cookie-policy h6{font-size:1em;margin-top:2em}.ot-sdk-cookie-policy th{min-width:75px}.ot-sdk-cookie-policy a,.ot-sdk-cookie-policy a:hover{background:#fff}.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}.ot-sdk-cookie-policy .ot-mobile-border{display:none}.ot-sdk-cookie-policy section{margin-bottom:2em}.ot-sdk-cookie-policy table{border-collapse:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy{font-family:inherit;font-size:1rem}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h3,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h4,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title{color:dimgray}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup{margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group-desc,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-table-header,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:.9em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td a{font-size:inherit}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group{font-size:1em;margin-bottom:.6em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-title{margin-bottom:1.2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy>section{margin-bottom:1em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th{min-width:75px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a:hover{background:#fff}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead{background-color:#f6f6f4;font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-mobile-border{display:none}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy section{margin-bottom:2em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li{list-style:disc;margin-right:1.5em}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-subgroup ul li h4{display:inline-block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{border-collapse:inherit;margin:auto;border:1px solid #d7d7d7;border-radius:5px;border-spacing:initial;width:100%;overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border-bottom:1px solid #d7d7d7;border-left:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr th:last-child,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr td:last-child{border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%}.ot-sdk-cookie-policy[dir=rtl]{text-align:right}#ot-sdk-cookie-policy h3{font-size:1.5em}@media only screen and (max-width: 530px){.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) table,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tbody,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) th,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td,.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{display:block}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) thead tr{position:absolute;top:-9999px;right:-9999px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr{margin:0 0 1em 0}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd),.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) tr:nth-child(odd) a{background:#f6f6f4}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td{border:none;border-bottom:1px solid #eee;position:relative;padding-right:50%}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{position:absolute;height:100%;right:6px;width:40%;padding-left:10px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) .ot-mobile-border{display:inline-block;background-color:#e4e4e4;position:absolute;height:100%;top:0;right:45%;width:2px}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) td:before{content:attr(data-label);font-weight:bold}.ot-sdk-cookie-policy:not(#ot-sdk-cookie-policy-v2) li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table{overflow:hidden}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table td{border:none;border-bottom:1px solid #d7d7d7}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{margin:0 0 1em 0}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{height:100%;width:40%;padding-left:10px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td:before{content:attr(data-label);font-weight:bold}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li{word-break:break-word;word-wrap:break-word}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead tr{position:absolute;top:-9999px;right:-9999px;z-index:-9999}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td{border-bottom:1px solid #d7d7d7;border-left:0px}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table tr:last-child td:last-child{border-bottom:0px}}"}}},ii="opt-out",si=(ai.prototype.initializeFeaturesAndSpecialPurposes=function(){var t=this;L.oneTrustIABConsent.features=[],L.oneTrustIABConsent.specialPurposes=[],I.Groups.forEach(function(e){t.checkAndPopulateFeatAndSplPur(e)})},ai.prototype.checkAndPopulateFeatAndSplPur=function(e){var t,o=this,n=T.GroupTypes;e.Type!==n.Ft&&e.Type!==n.Spl_Pur||((t={}).groupId=e.OptanonGroupId,t.purposeId=e.PurposeId,t.value=!0,(e.Type===n.Ft?L.oneTrustIABConsent.features:L.oneTrustIABConsent.specialPurposes).push(t)),e.SubGroups&&e.SubGroups.forEach(function(e){o.checkAndPopulateFeatAndSplPur(e)})},ai.prototype.initGrpsAndHosts=function(){this.initializeGroupData(A.consentableGrps),I.showCookieList&&y.isOptOutEnabled()?this.initializeHostData(A.consentableGrps):(L.hostsConsent=[],ao.writeHstParam(S.OPTANON_CONSENT))},ai.prototype.ensureHtmlGroupDataInitialised=function(){var e,t,o,n;this.initGrpsAndHosts(),L.showGeneralVendors&&(Co.populateGenVendorLists(),Co.initGenVendorConsent()),I.IsIabEnabled&&(this.initializeIABData(),this.initializeFeaturesAndSpecialPurposes()),L.vsIsActiveAndOptOut&&this.initializeVendorsService(),h.setOrUpdate3rdPartyIABConsentFlag(),h.setGeolocationInCookies(),I.IsConsentLoggingEnabled&&(e=window.OneTrust.dataSubjectParams||{},t=k.readCookieParam(S.OPTANON_CONSENT,"iType"),o="",n=!1,L.isV2Stub&&e.id&&e.token&&(t||A.forceCreateTrxLocalConsentIsGreater)&&(n=!0,o=pe[t]),ti.createConsentTxn(!1,o,!1,n))},ai.prototype.initializeVendorsService=function(){var o=h.isAlertBoxClosedAndValid(),e=k.readCookieParam(S.OPTANON_CONSENT,po),n=b.strToMap(e);L.getVendorsInDomain().forEach(function(e,t){n.has(t)||(e=!o&&C.checkIsActiveByDefault(e.groupRef),n.set(t,e))}),L.vsConsent=n},ai.prototype.initializeGroupData=function(e){var t;k.readCookieParam(S.OPTANON_CONSENT,lo)?(mo.synchroniseCookieGroupData(e),t=k.readCookieParam(S.OPTANON_CONSENT,lo),L.groupsConsent=b.strToArr(t),L.gpcConsentTxn&&(I.IsConsentLoggingEnabled&&ti.createConsentTxn(!1,"GPC value changed",!1,!0),L.gpcConsentTxn=!1,g.setAlertBoxClosed(!0))):(L.groupsConsent=[],e.forEach(function(e){L.groupsConsent.push(""+e.CustomGroupId+(C.checkIsActiveByDefault(e)&&e.HasConsentOptOut?":1":":0"))}),I.IsConsentLoggingEnabled&&window.addEventListener("beforeunload",this.consentDefaulCall))},ai.prototype.initializeHostData=function(e){var t,r;k.readCookieParam(S.OPTANON_CONSENT,"hosts")?(mo.synchroniseCookieHostData(),t=k.readCookieParam(S.OPTANON_CONSENT,"hosts"),L.hostsConsent=b.strToArr(t),e.forEach(function(e){C.isAlwaysActiveGroup(e)&&e.Hosts.length&&e.Hosts.forEach(function(e){L.oneTrustAlwaysActiveHosts.push(e.HostId)})})):(L.hostsConsent=[],r={},e.forEach(function(e){var o=C.isAlwaysActiveGroup(e),n=L.syncRequired?mo.groupHasConsent(e):C.checkIsActiveByDefault(e);e.Hosts.length&&e.Hosts.forEach(function(e){var t;r[e.HostId]?mo.updateHostStatus(e,n):(r[e.HostId]=!0,o&&L.oneTrustAlwaysActiveHosts.push(e.HostId),t=mo.isHostPartOfAlwaysActiveGroup(e.HostId),L.hostsConsent.push(e.HostId+(t||n?":1":":0")))})}))},ai.prototype.consentDefaulCall=function(){var e=parseInt(k.readCookieParam(S.OPTANON_CONSENT,p.INTERACTION_COUNT),10);!isNaN(e)&&0!==e||(g.triggerGoogleAnalyticsEvent(bo,"Click","No interaction"),I.IsConsentLoggingEnabled&&ti.createConsentTxn(!0),window.removeEventListener("beforeunload",G.consentDefaulCall))},ai.prototype.fetchAssets=function(s){return void 0===s&&(s=null),u(this,void 0,void 0,function(){var t,o,n,r,i;return F(this,function(e){switch(e.label){case 0:return t=v.moduleInitializer,i=h.isAlertBoxClosedAndValid(),o=!!s,i=G.isFetchBanner(t.IsSuppressBanner,i),n=G.cookieSettingBtnPresent(),n=A.isIab2orv2Template?I.PCShowPersistentCookiesHoverButton&&(!I.PCenterDynamicRenderingEnable||I.PCenterDynamicRenderingEnable&&!n):I.PCShowPersistentCookiesHoverButton,r="true"===L.urlParams.get(st),L.hideBanner=r,[4,Promise.all([!i||I.NoBanner||r?Promise.resolve(null):Ht.getBannerContent(o,s),!t.IsSuppressPC||L.isPCVisible?Ht.getPcContent():Promise.resolve(null),n?Ht.getCSBtnContent():Promise.resolve(null),Ht.getCommonStyles()])];case 1:return i=e.sent(),r=i[0],o=i[1],t=i[2],n=i[3],G.fetchContent(r,o,t,n),G.setCookieListGroupData(),[2]}})})},ai.prototype.fetchContent=function(e,t,o,n){var r;e&&(r=e.html,v.fp.CookieV2SSR||(r=atob(e.html)),this.bannerGroup={name:e.name,html:r,css:e.css}),t&&(this.preferenceCenterGroup={name:t.name,html:atob(t.html),css:t.css},v.isV2Template=I.PCTemplateUpgrade&&/otPcPanel|otPcCenter|otPcTab/.test(t.name)),o&&(this.csBtnGroup={name:"CookieSettingsButton",html:atob(o.html),css:o.css}),n&&(this.commonStyles=n)},ai.prototype.cookieSettingBtnPresent=function(){return _("#ot-sdk-btn").length||_(".ot-sdk-show-settings").length||_(".optanon-show-settings").length},ai.prototype.isFetchBanner=function(e,t){return!e||I.ShowAlertNotice&&!t&&e&&!_("#onetrust-banner-sdk").length},ai.prototype.setCookieListGroupData=function(){var e;v.fp.CookieV2TrackingTechnologies||(e=(new ri).assets(),G.cookieListGroup={name:e.name,html:e.html,css:I.useRTL?e.cssRTL:e.css})},ai.prototype.initializeIabPurposeConsentOnReload=function(){var t=this;A.consentableIabGrps.forEach(function(e){t.setIABConsent(e,!1),e.IsLegIntToggle=!0,t.setIABConsent(e,!1)})},ai.prototype.initializeIABData=function(o,n,r){var i=this,e=(void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),L.oneTrustIABConsent),t=(e.purpose=[],e.vendors=[],e.legIntVendors=[],e.specialFeatures=[],e.legimateInterest=[],L.addtlVendors),s=I.VendorConsentModel===ii;t.vendorConsent=[],!e.IABCookieValue||o||n||h.reconsentRequired()?(A.consentableIabGrps.forEach(function(e){var t;n&&!r?i.setIABConsent(e,C.isAlwaysActiveGroup(e)):r?e.HasConsentOptOut&&i.setIABConsent(e,!1):(t=o&&e.HasConsentOptOut,i.setIABConsent(e,t),e.Type===T.GroupTypes.Pur&&(e.IsLegIntToggle=!0,i.setIABConsent(e,e.HasLegIntOptOut)))}),I.IsIabEnabled&&r&&(L.oneTrustIABConsent.legimateInterest=L.vendors.selectedLegInt.slice()),t=o||!n&&s,h.setIABVendor(t,r),!h.reconsentRequired()||o||n||h.resetTCModel()):(this.initializeIabPurposeConsentOnReload(),oo.populateGoogleConsent(),oo.populateVendorAndPurposeFromCookieData())},ai.prototype.canSoftOptInInsertForGroup=function(e){var e=C.getGroupById(e);if(e)return e=e&&!e.Parent?e:C.getParentGroup(e.Parent),"inactive landingpage"!==C.getGrpStatus(e).toLowerCase()||!dn.isLandingPage()},ai.prototype.setIABConsent=function(e,t){e.Type===T.GroupTypes.Spl_Ft?this.setIabSpeciFeatureConsent(e,t):e.IsLegIntToggle?(this.setIabLegIntConsent(e,t),e.IsLegIntToggle=!1):this.setIabPurposeConsent(e,t)},ai.prototype.setIabPurposeConsent=function(o,n){var r=!1;L.oneTrustIABConsent.purpose=L.oneTrustIABConsent.purpose.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.purpose.push(o.IabGrpId+":"+n)},ai.prototype.setIabLegIntConsent=function(o,n){var r=!1;L.oneTrustIABConsent.legimateInterest=L.oneTrustIABConsent.legimateInterest.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.legimateInterest.push(o.IabGrpId+":"+n)},ai.prototype.setIabSpeciFeatureConsent=function(o,n){var r=!1;L.oneTrustIABConsent.specialFeatures=L.oneTrustIABConsent.specialFeatures.map(function(e){var t=e.split(":")[0];return t===o.IabGrpId&&(e=t+":"+n,r=!0),e}),r||L.oneTrustIABConsent.specialFeatures.push(o.IabGrpId+":"+n)},ai);function ai(){}a.prototype.getSearchQuery=function(e){var t=this,e=e.trim().split(/\s+/g);return new RegExp(e.map(function(e){return t.escapeRegExp(e)}).join("|")+"(.+)?","gi")},a.prototype.escapeRegExp=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},a.prototype.setGlobalFilteredList=function(e){return L.currentGlobalFilteredList=e},a.prototype.vendorHasPurpose=function(e,t){var o=!1,n=parseInt(A.iabGrpIdMap[t]);return-1 input[checked]")?b.setCheckedAttribute("",n,!0):b.setCheckedAttribute("",n,!1),document.querySelector(e.venListId+' li:not([style^="display: none"]) '+e.ctgl+" > input:not([checked])")?n.parentElement.classList.add("line-through"):n.parentElement.classList.remove("line-through")},a.prototype.initGoogleVendors=function(){this.populateAddtlVendors(L.addtlVendorsList),this.venAdtlSelAllTglEvent()},a.prototype.initGenVendors=function(){this.populateGeneralVendors(),I.GenVenOptOut&&I.GeneralVendors&&I.GeneralVendors.length&&this.genVenSelectAllTglEvent()},a.prototype.resetAddtlVendors=function(){N.searchVendors(N.googleSearchSelectors,L.addtlVendorsList,me.GoogleVendor),this.showConsentHeader()},a.prototype.venAdtlSelAllTglEvent=function(){N.selectAllEventHandler({vendorsList:'#ot-addtl-venlst li:not([style^="display: none"]) .ot-ven-adtlctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-adtlvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-adtlven-handler"})},a.prototype.genVenSelectAllTglEvent=function(){var e={vendorsList:P.P_Gven_List+' li:not([style^="display: none"]) .ot-ven-gvctgl input',selAllCntr:"#onetrust-pc-sdk #ot-selall-gnvencntr",selAllChkbox:"#onetrust-pc-sdk #ot-selall-gnven-handler"};N.selectAllEventHandler(e)},a.prototype.selectAllEventHandler=function(e){for(var t=_(e.vendorsList).el,o=_(e.selAllCntr).el[0],n=_(e.selAllChkbox).el[0],r=!0,i=0;i li"):document.querySelectorAll(P.P_Vendor_Container+' li:not([style$="none;"]),'+P.P_Gven_List+' li:not([style$="none;"])'),o=t.length,n=_('#onetrust-pc-sdk [role="status"]');o?n.text(t.length+" "+(e?"host":"vendor")+(1\n '+e+' '+I.NewWinTxt+"\n \n "),t.querySelector(P.P_Host_Title).innerHTML=e,t.querySelector(P.P_Host_Desc).innerHTML=o[n].Description,o[n].PrivacyPolicy&&I.pcShowCookieHost&&t.querySelector(P.P_Host_Desc).insertAdjacentHTML("afterend",''+(a?I.PCGVenPolicyTxt:I.PCCookiePolicyText)+' '+I.NewWinTxt+""),t.querySelector(P.P_Host_View_Cookies));return!L.showGeneralVendors||o[n].Cookies&&o[n].Cookies.length?I.PCViewCookiesText&&(l.innerHTML=I.PCViewCookiesText):(b.removeChild(l),_(t).addClass("ot-hide-acc")),o[n].Description&&I.pcShowCookieHost||(i=t.querySelector(P.P_Host_Desc)).parentElement.removeChild(i),_(t.querySelector(P.P_Host_Opt)).html(""),null!=(a=o[n].Cookies)&&a.forEach(function(e){e=s.getCookieElement(e,o[n]);_(t.querySelector(P.P_Host_Opt)).append(e)}),r.append(t),e},a.prototype.hostsListEvent=function(){for(var e=_("#onetrust-pc-sdk "+P.P_Host_Cntr+" .ot-host-tgl input").el,t=_("#onetrust-pc-sdk #"+P.P_Sel_All_Host_El).el[0],o=_("#onetrust-pc-sdk #select-all-hosts-groups-handler").el[0],n=_("#onetrust-pc-sdk "+P.P_Cnsnt_Header).el[0],r=!0,i=0;i"+I.PCenterVendorListDisclosure+":

    ",r.insertAdjacentElement("beforeend",e),t.disclosures.forEach(function(e){var t,o=i.cloneNode(!0),n="

    "+I.PCenterVendorListStorageIdentifier+"

    "+(e.name||e.identifier)+"

    ";e.type&&(n+="

    "+I.PCenterVendorListStorageType+"

    "+e.type+"

    "),e.maxAgeSeconds&&(t=b.calculateCookieLifespan(e.maxAgeSeconds),n+="

    "+I.PCenterVendorListLifespan+"

    "+t+"

    "),e.domain&&(n+="

    "+I.PCenterVendorListStorageDomain+"

    "+e.domain+"

    "),e.purposes&&(n+="

    "+I.PCenterVendorListStoragePurposes+'

    ',e.purposes.forEach(function(e){e=null==(e=A.iabGroups.purposes[e])?void 0:e.name;e&&(n+='

    '+e+"

    ")}),n+="
    "),o.innerHTML=n,r.insertAdjacentElement("beforeend",o)}),this.updateDomainsUsageInDisclosures(t,i,r))},a.prototype.updateDomainsUsageInDisclosures=function(e,n,r){var t;e.domains&&e.domains.length&&((t=n.cloneNode(!0)).innerHTML="

    "+I.PCVLSDomainsUsed+":

    ",r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t="

    "+I.PCenterVendorListStorageDomain+"

    "+e.domain+"

    "),e.use&&(t+="

    "+I.PCVLSUse+"

    "+e.use+"

    "),o.innerHTML=t,r.insertAdjacentElement("beforeend",o)}))},a.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=t||"",e.parentNode.insertBefore(o,e)},a.prototype.setVdrConsentTglOrChbox=function(e,t,o,n,r,i){var s,a,l=L.vendorsSetting[e],t=t.cloneNode(!0);l.consent&&(t.classList.add(P.P_Ven_Ctgl),l=-1!==wt.inArray(e+":true",L.vendors.selectedVendors),s=t.querySelector("input"),v.isV2Template&&(s.classList.add("vendor-checkbox-handler"),a=t.querySelector(this.LABEL_STATUS),I.PCShowConsentLabels?a.innerHTML=l?I.PCActiveText:I.PCInactiveText:b.removeChild(a)),b.setCheckedAttribute("",s,l),b.setHtmlAttributes(s,{id:P.P_Vendor_CheckBx+"-"+i,vendorid:e,"aria-label":o}),t.querySelector("label").setAttribute("for",P.P_Vendor_CheckBx+"-"+i),t.querySelector(P.P_Label_Txt).textContent=o,A.pcName===it?I.PCTemplateUpgrade?n.insertAdjacentElement("beforeend",t):_(n).append(t):n.insertBefore(t,r))},a.prototype.setVndrLegIntTglTxt=function(e,t){e=e.querySelector(this.LABEL_STATUS);I.PCShowConsentLabels?e.innerHTML=t?I.PCActiveText:I.PCInactiveText:b.removeChild(e)},a.prototype.setVdrLegIntTglOrChbx=function(e,t,o,n,r,i,s){var a,l,c=L.vendorsSetting[e],o=o.cloneNode(!0);c.legInt&&!c.specialPurposesOnly&&(a=-1!==wt.inArray(e+":true",L.vendors.selectedLegIntVendors),A.legIntSettings.PShowLegIntBtn?(l=h.generateLegIntButtonElements(a,e,!0),t.querySelector(P.P_Acc_Txt).insertAdjacentHTML("beforeend",l),(l=t.querySelector(".ot-remove-objection-handler"))&&d(l,l.getAttribute("data-style"))):(l=o.querySelector("input"),v.isV2Template&&(l.classList.add("vendor-checkbox-handler"),this.setVndrLegIntTglTxt(o,a)),o.classList.add(P.P_Ven_Ltgl),l.classList.remove("vendor-checkbox-handler"),l.classList.add("vendor-leg-checkbox-handler"),b.setCheckedAttribute("",l,a),b.setHtmlAttributes(l,{id:P.P_Vendor_LegCheckBx+"-"+r,"leg-vendorid":e,"aria-label":n}),o.querySelector("label").setAttribute("for",P.P_Vendor_LegCheckBx+"-"+r),o.querySelector(P.P_Label_Txt).textContent=n,t.querySelector("."+P.P_Ven_Ctgl)&&(i=t.querySelector("."+P.P_Ven_Ctgl)),A.pcName!==it||s.children.length?s.insertBefore(o,i):_(s).append(o),c.consent||A.pcName!==it||o.classList.add(P.P_Ven_Ltgl_Only)))},a.prototype.setVndrSplPurSection=function(e,t){var o=this,n=e.querySelector(".spl-purpose"),e=e.querySelector(".spl-purpose-grp"),r=e.cloneNode(!0);e.parentElement.removeChild(e),A.isIab2orv2Template&&t.specialPurposes.forEach(function(e){_(r.querySelector(o.CONSENT_CATEGORY)).text(e.purposeName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialPurposes.length?n.parentElement.removeChild(n):_(n.querySelector("p")).text(I.SpecialPurposesText)},a.prototype.setVndrFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-feature"),e=e.querySelector(".vendor-feature-group"),r=e.cloneNode(!0);e.parentElement.removeChild(e),_(n.querySelector("p")).text(I.FeaturesText),t.features.forEach(function(e){_(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.features.length&&n.parentElement.removeChild(n)},a.prototype.setVndrSplFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-spl-feature"),e=e.querySelector(".vendor-spl-feature-grp"),r=e.cloneNode(!0);n.parentElement.removeChild(e),A.isIab2orv2Template&&t.specialFeatures.forEach(function(e){_(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialFeatures.length?n.parentElement.removeChild(n):_(n.querySelector("p")).text(I.SpecialFeaturesText)},a.prototype.setVndrAccTxt=function(e,t){t=t.querySelector(P.P_Acc_Txt);t&&b.setHtmlAttributes(t,{id:"IAB-ACC-TXT"+e,"aria-labelledby":"IAB-ACC-TXT"+e,role:"region"})},a.prototype.setVndrDisclosure=function(e,t,o){t.deviceStorageDisclosureUrl&&(b.setHtmlAttributes(o,{"disc-vid":e}),L.discVendors[e]={isFetched:!1,disclosureUrl:t.deviceStorageDisclosureUrl})},a.prototype.setVndrListSelectAllChkBoxs=function(){var e=_("#onetrust-pc-sdk "+P.P_Sel_All_Vendor_Consent_Handler).el[0],e=(e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterSelectAllVendorsText+" "+I.LegitInterestText),_("#onetrust-pc-sdk "+P.P_Sel_All_Vendor_Leg_Handler).el[0]);e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterSelectAllVendorsText+" "+I.ConsentText)},a.prototype.setVndrConsentPurposes=function(e,t,o){var n=this,r=e.querySelector(".vendor-consent-group"),i=e.querySelector(".vendor-option-purpose"),s=r.cloneNode(!0),a=e.querySelector(".legitimate-interest"),l=!1;return r.parentElement.removeChild(r),t.consent&&(_(i.querySelector("p")).text(I.ConsentPurposesText),o.purposes.forEach(function(e){_(s.querySelector(n.CONSENT_CATEGORY)).text(e.purposeName);e=s.querySelector(".consent-status");e&&s.removeChild(e),a.insertAdjacentHTML("beforebegin",s.outerHTML),l=!0})),t.consent||i.parentElement.removeChild(i),l},a.prototype.getVndrTglCntr=function(e){return v.isV2Template?E.chkboxEl.cloneNode(!0):e.querySelector(".ot-checkbox")},a.prototype.attachVendorsToDOM=function(){for(var u,p,h=this,g=L.vendors.list,C=L.vendors.vendorTemplate.cloneNode(!0),y=(L.discVendors={},v.isV2Template&&(u=C.querySelector(".ot-ven-pur").cloneNode(!0),p=C.querySelector(P.P_Ven_Disc).cloneNode(!0),_(C.querySelector(".ot-ven-dets")).html("")),document.createDocumentFragment()),f=this,e=0;e"+o+" "+I.NewWinTxt+"",n.insertAdjacentHTML("afterend",""),A.isTcfV2Template&&e.legIntClaim&&0"+o+" "+I.NewWinTxt+"",t.insertAdjacentHTML("afterend","")):t.remove()},a.prototype.populateVendorDetailsHtml=function(e,t,o,n){var r,i,s,a,l,c,d,u,e=e.querySelector(".ot-ven-dets"),p=L.vendorsSetting[o.vendorId],n=n.cloneNode(!0);this.attachVendorDisclosure(n,o),e.insertAdjacentElement("beforeEnd",n),A.isTcfV2Template&&null!=(n=o.dataDeclaration)&&n.length&&(n=t.cloneNode(!0),r="

    "+I.PCVListDataDeclarationText+"

    ",r+="
      ",o.dataDeclaration.forEach(function(e){r+="
    • "+e.Name+"

    • "}),r+="
    ",n.innerHTML=r,e.insertAdjacentElement("beforeEnd",n)),A.isTcfV2Template&&null!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&void 0!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&(n=t.cloneNode(!0),c=1===o.dataRetention.stdRetention?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,s="

    "+I.PCVListDataRetentionText+"

    ",s+="
  • "+I.PCVListStdRetentionText+" ("+o.dataRetention.stdRetention+" "+c+")

  • ",n.innerHTML=s,e.insertAdjacentElement("beforeEnd",n)),p.consent&&(c=t.cloneNode(!0),i="

    "+I.ConsentPurposesText+"

    ",i+="
      ",o.purposes.forEach(function(e){var t;i+="
    • "+e.purposeName,A.isTcfV2Template&&null!=(t=o.dataRetention)&&t.purposes&&o.dataRetention.purposes[e.purposeId]&&(e=1===(t=o.dataRetention.purposes[e.purposeId].retention)?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,i+=" ("+t+" "+e+")"),i+="

    • "}),i+="
    ",c.innerHTML=i,e.insertAdjacentElement("beforeEnd",c)),p.legInt&&o.legIntPurposes.length&&(s=t.cloneNode(!0),a="

    "+I.LegitimateInterestPurposesText+"

    ",a+="
      ",o.legIntPurposes.forEach(function(e){a+="
    • "+e.purposeName+"

    • "}),a+="
    ",s.innerHTML=a,e.insertAdjacentElement("beforeEnd",s)),A.isIab2orv2Template&&o.specialPurposes.length&&(n=t.cloneNode(!0),l="

    "+I.SpecialPurposesText+"

    ",l+="
      ",o.specialPurposes.forEach(function(e){var t;l+="
    • "+e.purposeName,A.isTcfV2Template&&null!=(t=o.dataRetention)&&t.specialPurposes&&o.dataRetention.specialPurposes[e.purposeId]&&(e=1===(t=o.dataRetention.specialPurposes[e.purposeId].retention)?I.PCenterVendorListLifespanDay:I.PCenterVendorListLifespanDays,l+=" ("+t+" "+e+")"),l+="

    • "}),l+="
    ",n.innerHTML=l,e.insertAdjacentElement("beforeEnd",n)),o.features.length&&(c=t.cloneNode(!0),d="

    "+I.FeaturesText+"

    ",d+="
      ",o.features.forEach(function(e){d+="
    • "+e.featureName+"

    • "}),d+="
    ",c.innerHTML=d,e.insertAdjacentElement("beforeEnd",c)),A.isIab2orv2Template&&o.specialFeatures.length&&(p=t.cloneNode(!0),u="

    "+I.SpecialFeaturesText+"

    ",u+="
      ",o.specialFeatures.forEach(function(e){u+="
    • "+e.featureName+"

    • "}),u+="
    ",p.innerHTML=u,e.insertAdjacentElement("beforeEnd",p))},a.prototype.InitializeVendorList=function(){var e;L.vendors.list=L.iabData?L.iabData.vendors:null,L.vendors.vendorTemplate=_(P.P_Vendor_Container+" li").el[0].cloneNode(!0),_("#onetrust-pc-sdk "+P.P_Vendor_Container).html(""),v.isV2Template||A.pcName!==it||(e=L.vendors.vendorTemplate.querySelectorAll(P.P_Acc_Header),(e=A.legIntSettings.PAllowLI&&A.isIab2orv2Template?e[0]:e[1]).parentElement.removeChild(e))},a.prototype.cancelVendorFilter=function(){for(var e=_("#onetrust-pc-sdk .category-filter-handler").el,t=0;t "+t.cookieMaxAge+"";t.usesNonCookieAccess&&(o+="

    "+I.PCenterVendorListNonCookieUsage+"

    "),e.innerHTML=o},a.prototype.updateVendorFilterList=function(){for(var e=_("#onetrust-pc-sdk .category-filter-handler").el,t=0;t"+I.PCIABVendorsText+""),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",d),c.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",_("#ot-ven-lst").el[0]),_("#ot-lst-cnt .ot-sdk-column").append(c),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCIABVendorsText),this.iabAccInit=!0,d.cloneNode(!0)),u=(b.removeChild(c.querySelector("#ot-selall-licntr")),c.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",c.querySelector("input").id="ot-selall-adtlven-handler",c.querySelector("label").setAttribute("for","ot-selall-adtlven-handler"),E.accordionEl.cloneNode(!0)),p=(u.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",l.cloneNode(!0)),u.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","
    "+I.PCGoogleVendorsText+"
    "),u.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",c),u.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","
      "),u.classList.add("ot-adtlv-acc"),u.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCGoogleVendorsText),L.vendors.vendorTemplate.cloneNode(!0));for(t in p.querySelector("button").classList.remove("ot-ven-box"),p.querySelector("button").classList.add("ot-addtl-venbox"),b.removeChild(p.querySelector(".ot-acc-txt")),e)e[t]&&(o=p.cloneNode(!0),n=e[t].name,o.querySelector(P.P_Ven_Name).innerText=n,r=o.querySelector("button"),b.setHtmlAttributes(r,{id:"Adtl-IAB"+t}),b.setHtmlAttributes(o.querySelector(P.P_Ven_Link),{href:e[t].policyUrl,rel:"noopener",target:"_blank"}),o.querySelector(P.P_Ven_Link).innerHTML=I.PCenterViewPrivacyPolicyText+" "+n+" "+I.NewWinTxt+"",(r=E.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),r.classList.add("ot-ven-adtlctgl"),i=Boolean(L.addtlVendors.vendorSelected[t]),(s=r.querySelector("input")).classList.add("ot-addtlven-chkbox-handler"),a=r.querySelector(this.LABEL_STATUS),I.PCShowConsentLabels?a.innerHTML=i?I.PCActiveText:I.PCInactiveText:b.removeChild(a),b.setCheckedAttribute("",s,i),b.setHtmlAttributes(s,{id:"ot-addtlven-chkbox-"+t,"addtl-vid":t,"aria-label":n}),r.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+t),r.querySelector(P.P_Label_Txt).textContent=n,a=o.querySelector(P.P_Tgl_Cntr),_(a).append(r),a.insertAdjacentElement("beforeend",E.arrowEl.cloneNode(!0)),I.PCAccordionStyle!==le.Caret&&o.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",E.plusMinusEl.cloneNode(!0)),this.checkIfLegLinkRemove(o),_(u.querySelector("#ot-addtl-venlst")).append(o));_("#ot-lst-cnt .ot-sdk-column").append(u),_("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){b.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},a.prototype.populateGeneralVendors=function(){var e,t,o,c,d,u,p=this,n=I.GeneralVendors,r=document.querySelector(".ot-gv-acc"),h=!!r;n.length?(this.hasGenVendors=!0,r&&_(r).show(),e=(I.PCAccordionStyle===le.Caret?E.arrowEl:E.plusMinusEl).cloneNode(!0),this.iabAccInit||this.addIabAccordion(),(t=document.createElement("div")).setAttribute("class","ot-sel-all-chkbox"),o=E.chkboxEl.cloneNode(!0),o.id="ot-selall-gnvencntr",o.querySelector("input").id="ot-selall-gnven-handler",o.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),_(t).append(o),c=E.accordionEl.cloneNode(!0),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),c.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","
      "+I.PCenterGeneralVendorsText+"
      "),I.GenVenOptOut&&c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t),c.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd","
        "),c.classList.add("ot-gv-acc"),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCenterGeneralVendorsText),d=L.vendors.vendorTemplate.cloneNode(!0),d.querySelector("button").classList.remove("ot-ven-box"),d.querySelector("button").classList.add("ot-gv-venbox"),_(d.querySelector(".ot-acc-txt")).html('
          '),h&&_(""+P.P_Gven_List).html(""),u=!0,n.forEach(function(e){var t,o,n=p.mapGenVendorToHostFormat(e),r=d.cloneNode(!0),i=e.VendorCustomId,s=e.Name,a=r.querySelector(P.P_Ven_Link),l=(r.querySelector(P.P_Ven_Name).innerText=s,r.querySelector("button"));b.setHtmlAttributes(l,{id:"Gn-"+i}),e.PrivacyPolicyUrl?(b.setHtmlAttributes(a,{href:e.PrivacyPolicyUrl,rel:"noopener",target:"_blank"}),a.innerHTML=I.PCGVenPolicyTxt+" "+s+" "+I.NewWinTxt+""):a.classList.add("ot-hide"),p.addDescriptionElement(a,e.Description),I.GenVenOptOut&&((l=E.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),l.classList.add("ot-ven-gvctgl"),a=Boolean(L.genVendorsConsent[i]),(t=l.querySelector("input")).classList.add("ot-gnven-chkbox-handler"),o=l.querySelector(p.LABEL_STATUS),I.PCShowConsentLabels?o.innerHTML=a?I.PCActiveText:I.PCInactiveText:b.removeChild(o),b.setCheckedAttribute("",t,a),b.setHtmlAttributes(t,{id:"ot-gnven-chkbox-"+i,"gn-vid":i,"aria-label":s}),Co.isGenVenPartOfAlwaysActiveGroup(i)?b.setDisabledAttribute(null,t,!0):u=!1,l.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+i),l.querySelector(P.P_Label_Txt).textContent=s,o=r.querySelector(P.P_Tgl_Cntr),_(o).append(l),o.insertAdjacentElement("beforeend",E.arrowEl.cloneNode(!0))),I.PCAccordionStyle!==le.Caret&&r.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",E.plusMinusEl.cloneNode(!0)),e.Cookies.length||_(r).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){e=p.getCookieElement(e,n);_(r.querySelector(".ot-host-opt")).append(e)}),p.checkIfLegLinkRemove(r),_(h?""+P.P_Gven_List:c.querySelector(""+P.P_Gven_List)).append(r)}),h||_("#ot-lst-cnt .ot-sdk-column").append(c),_("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){b.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),u&&b.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)):(this.hasGenVendors=!1,r&&_(r).hide())},a.prototype.addIabAccordion=function(){var e=(I.PCAccordionStyle===le.Caret?E.arrowEl:E.plusMinusEl).cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(b.removeChild(o.querySelector("#ot-selall-hostcntr")),b.removeChild(t.querySelector("#ot-selall-vencntr")),b.removeChild(t.querySelector("#ot-selall-licntr")),E.accordionEl.cloneNode(!0));t.classList.add("ot-iab-acc"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd","
          "+I.PCIABVendorsText+"
          "),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),t.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",_("#ot-ven-lst").el[0]),_("#ot-lst-cnt .ot-sdk-column").append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,I.PCIABVendorsText),this.iabAccInit=!0},a.prototype.showConsentHeader=function(){var e=A.legIntSettings;_("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||_("#onetrust-pc-sdk .ot-li-hdr").hide()},a.prototype.setBackBtnTxt=function(){(v.isV2Template?(_(P.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,I.PCenterBackText),_(P.P_Vendor_List+" .back-btn-handler title")):_(P.P_Vendor_List+" .back-btn-handler .pc-back-button-text")).html(I.PCenterBackText)},a.prototype.getCookieElement=function(e,t){var o=L.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0),r=(n.classList.remove("cookie-name-container"),_(o).html(""),e.Name),i=(I.AddLinksToCookiepedia&&t.isFirstParty&&(r=y.getCookieLabel(e,I.AddLinksToCookiepedia)),n.cloneNode(!0));return i.classList.add(P.P_c_Name),i.querySelector("div:nth-child(1)").innerHTML=I.pcCListName,i.querySelector("div:nth-child(2)").innerHTML=r,_(o).append(i),I.pcShowCookieHost&&((r=n.cloneNode(!0)).classList.add(P.P_c_Host),r.querySelector("div:nth-child(1)").innerHTML=I.pcCListHost,r.querySelector("div:nth-child(2)").innerHTML=e.Host,_(o).append(r)),I.pcShowCookieDuration&&((i=n.cloneNode(!0)).classList.add(P.P_c_Duration),i.querySelector("div:nth-child(1)").innerHTML=I.pcCListDuration,i.querySelector("div:nth-child(2)").innerHTML=e.IsSession?I.LifespanTypeText:y.getDuration(e),_(o).append(i)),I.pcShowCookieType&&(r=t.Type===ge.GenVendor?!e.isThirdParty:t.isFirstParty,(i=n.cloneNode(!0)).classList.add(P.P_c_Type),i.querySelector("div:nth-child(1)").innerHTML=I.pcCListType,i.querySelector("div:nth-child(2)").innerHTML=r?I.firstPartyTxt:I.thirdPartyTxt,_(o).append(i)),I.pcShowCookieCategory&&(r=void 0,r=t.Type===ge.GenVendor?e.category:(t.isFirstParty?e:t).groupName)&&((i=n.cloneNode(!0)).classList.add(P.P_c_Category),i.querySelector("div:nth-child(1)").innerHTML=I.pcCListCategory,i.querySelector("div:nth-child(2)").innerHTML=r,_(o).append(i)),I.pcShowCookieDescription&&e.description&&((t=n.cloneNode(!0)).classList.add(P.P_c_Desc),t.querySelector("div:nth-child(1)").innerHTML=I.pcCListDescription,t.querySelector("div:nth-child(2)").innerHTML=e.description,_(o).append(t)),o},a.prototype.getNoResultsFound=function(e){e=L.showTrackingTech?I.PCTechNotFound:e?I.PCHostNotFound:I.PCVendorNotFound;return" "+e+"."},a.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=I.AdditionalTechnologiesConfig,n=0"+e+""),r.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,t),o&&r.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeend",'
            '),r.cloneNode(!0)},a.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=L.hosts.hostTemplate.cloneNode(!0),r=(b.removeChild(n.querySelector(".ot-a scc-txt")),e.querySelector(".ot-acc-txt "+P.P_Host_Cntr));r.removeAttribute("style"),r.classList.add("ot-host-opt");for(var i=0,s=t;inew Date(o))){var g=this.getConsentValue(c.status),i=!0,C=c.lastInteractionDate;if(!t&&this.isCookieGroup(u)){for(var y=u+":"+g,f=-1,h=0;h